summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_read.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* So passes uthreadsguenther2012-09-011-116/+0
| | | | | Like autumn leaves on water don't fear the tedu@
* Make SO_RCVTIMEO and SO_SNDTIMEO work with pthreads. Fixes at least some offgsch2010-01-031-4/+9
| | | | | the issues seen with www/varnish. With input and help from guenther@ and kurt@. guenther@ ok
* Last Part of file descriptor race and deadlock corrections.kurt2006-10-031-2/+8
| | | | | | | | When a fd enters the closing state prevent any threads from polling the fd and reschedule the thread with the closing_fd flag set. This fixes a class of deadlocks where a thread is blocked waiting for data (that may never arrive) and a later thread calls close() or dup2() on the fd. okay brad@
* Part 1 of file descriptor race and deadlock corrections.kurt2006-09-221-3/+3
| | | | | | | | | | | | | | | | | | | | File status flags should be shared for dup'ed file descriptors. However fd_table_entry's should not be shared for dup'ed file descriptors so they can be independently be closed without interfering with dup'ed fd's. - split out file status flags into its own structure fs_flags to manage sharing of status flags between dup'ed file descriptors. - when duplicating a fd, initialize a new fd_table_entry for the new fd, but share the status flags via status_flags. - consolidate the code that sets the underlying system fd to be non-blocking to a new function _thread_fs_flags_init() - consolidate the code that sets the underlying system fd back to blocking into a new function _thread_fs_flags_replace() This change is needed as a prerequisite to the coming race and deadlock corrections. okay marc@
* Start syncing with FreeBSD:fgsch2001-08-211-4/+5
| | | | | | | | | | o Implement _get_curthread() and _set_curthread(). Use it where possible. o Add missing _thread_[enter|leave]_cancellation_point(). o Add a couple of not yet used vars to pthread_private.h. o Remove return's from void functions. This is by no means complete, but instead of doing a big commit, i'll split it in small ones, minimizing diffs.
* correctly return ssize_t.fgsch2001-08-171-2/+2
|
* sync with FreeBSDd1999-11-251-14/+10
|
* document cancellation point handling a bit betterd1999-06-091-1/+5
|
* pthread_cancel() and cancellation pointsd1999-01-171-2/+8
|
* preserve FreeBSD identsd1998-12-231-2/+2
|
* experimental threaded libc - kernel onlyd1998-08-271-0/+98