Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove "#define _POSIX_THREADS" line before include <pthread.h>. | 2012-04-17 | 1 | -3/+1 | |
| | | | | The latter contains "#define _POSIX_THREADS 1" which makes gcc 2.95 complain. | ||||
* | closefrom() should be a cancellation point | 2012-03-22 | 1 | -2/+16 | |
| | |||||
* | Reimplement mutexes, condvars, and rwlocks to eliminate bugs, | 2012-01-17 | 1 | -4/+28 | |
| | | | | | | | | | | | | | particularly the "consume the signal you just sent" hang, and putting the wait queues in userspace. Do cancellation handling in pthread_cond_*wait(), pthread_join(), and sem_wait(). Add __ prefix to thr{sleep,wakeup,exit,sigdivert}() syscalls; add 'abort" argument to thrsleep to close cancellation race; make thr{sleep,wakeup} return errno values via *retval to avoid touching userspace errno. | ||||
* | Delete some parameter names and extra semicolons that slipped through | 2012-01-04 | 1 | -5/+5 | |
| | |||||
* | Don't let applications block, wait for, or handle SIGTHR, as the | 2011-12-27 | 1 | -2/+4 | |
| | | | | thread library uses it internally for cancellation. | ||||
* | Implement cancelation for the basic syscall cancelation points, | 2011-12-05 | 1 | -0/+524 | |
using previously allocated SIGTHR to interrupt in-process syscalls and fixing the spelling of "cancelled" along the way. Modeled on FreeBSD's libthr |