| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Like autumn leaves on water
don't fear the tedu@
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
* change _thread_kern_set_timeout() parm to const.
|