summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_kevent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* So passes uthreadsguenther2012-09-011-84/+0
| | | | | Like autumn leaves on water don't fear the tedu@
* For threads in PS_FDR_WAIT state, check SA_RESTART before marking it asfgsch2011-09-131-2/+2
| | | | | | | | interrupted, thus simulating the system call restart behaviour in the non-pthreads case. Add a state for kevent since it shouldn't be restarted regardless of SA_RESTART being present. guenther@ ok.
* Last Part of file descriptor race and deadlock corrections.kurt2006-10-031-1/+6
| | | | | | | | 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@
* sync FreeBSD RCS idbrad2003-10-191-2/+2
|
* sync with freebsd.fgsch2001-12-081-2/+3
|
* Start syncing with FreeBSD:fgsch2001-08-211-8/+9
| | | | | | | | | | 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.
* * kevent(2) support; from FreeBSD.fgsch2001-08-151-0/+77
* change _thread_kern_set_timeout() parm to const.