summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_recvmsg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* So passes uthreadsguenther2012-09-011-96/+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-2/+8
| | | | | the issues seen with www/varnish. With input and help from guenther@ and kurt@. guenther@ ok
* honor MSG_DONTWAITjakemsr2009-04-111-1/+2
| | | | ok marc@, guenther@
* lint warning corrections:kurt2007-05-011-2/+2
| | | | | | | - use the correct types - mark _thread_gc() w/ARGSUSED - fix a 'a cast does not yield an lvalue' okay marc@
* Last Part of file descriptor race and deadlock corrections.kurt2006-10-031-1/+7
| | | | | | | | 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-2/+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@
* Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(),brad2003-12-231-1/+8
| | | | | | | | and sendto() cancellation points, as required by POSIX.1-2001. From: FreeBSD' libc_r ok 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.
* sync with FreeBSDd1999-11-251-2/+3
|
* identd1999-01-061-0/+1
|
* experimental threaded libc - kernel onlyd1998-08-271-0/+72