| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
applications that increase nofiles using setrlimit(2). ok marc@
|
|
|
|
|
| |
need to bail from _thread_kern_poll() when a file descriptor is in
closing state. corrects segfault reported by ckuethe@
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
* plug a memory leak and FD_UNLOCK properly in writev
ok marc
|
| |
|
|
|
|
| |
ok marc@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|