summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_poll.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clean up lint warnings related to the nfds_t type. okay marc@ millert@kurt2007-05-211-4/+4
|
* Use rlimit nofiles max to size fd/fdp tables instead of cur. Fixeskurt2007-04-271-3/+3
| | | | applications that increase nofiles using setrlimit(2). ok marc@
* select() and poll() don't _FD_LOCK their file descriptors, so there's nokurt2006-10-251-5/+1
| | | | | need to bail from _thread_kern_poll() when a file descriptor is in closing state. corrects segfault reported by ckuethe@
* Last Part of file descriptor race and deadlock corrections.kurt2006-10-031-1/+5
| | | | | | | | 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@
* * make sure we leave the thread's cancellation point before we returnpat2004-11-301-1/+2
| | | | | | * plug a memory leak and FD_UNLOCK properly in writev ok marc
* Fix -Wsign-compare warnings pointed out by kevlo@, ok marc@millert2004-01-191-6/+6
|
* more cancellation points.brad2004-01-011-1/+7
| | | | ok marc@
* Add an nfds_t type as per POSIX and also add pollfd_t like Solaris has.millert2003-12-101-3/+3
|
* From FreeBSD: fix conversion from msec to timespec.fgsch2002-01-101-3/+3
|
* 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.
* Use INFTIM.fgsch2001-08-151-2/+2
|
* unused varsd2000-01-061-2/+2
|
* sync with FreeBSDd1999-11-251-112/+71
|
* identd1999-01-081-0/+1
|
* add poll(2). This might help get X threaded.d1999-01-081-0/+140