| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Like autumn leaves on water
don't fear the tedu@
|
| |
|
|
|
|
|
| |
casting when safe or adding ARGSUSED where needed. Reviewed and
improvements from millert@ and marc@. okay marc@
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rev 1.21
Make the libc_r version of select() set the readable or writable
file descriptor bit if poll() returns POLLERR, POLLHUP, or POLLNVAL.
Othewise, it's possible for select() to return successfully but
with no bits set.
rev 1.19
Return correct number of total bits set in all fd_set's.
Change case of POLLNVAL as an error.
Remove POLLHUP and POLLERR from one case, their place is most likely
amongst read events.
ok marc@
|
|
|
|
| |
ok marc@
|
|
|
|
| |
to allocate with a define
|
| |
|
| |
|
|
|
|
|
|
| |
are both void.
The select call is a cancellation point per IEEE Std 1003.1-2001.
This should fix a problem espie@ found in kde.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|