summaryrefslogtreecommitdiffstats
path: root/lib/librthread (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* the beatings will continue until morale improvestedu2005-12-141-1/+4
|
* there should be a lock around the tls key tabletedu2005-12-141-3/+17
|
* add bits for pthread_cancel. we don't really have cancellation points yettedu2005-12-142-5/+71
| | | | but some of the functions are here now.
* check for waiters when destroying a mutex or semaphoretedu2005-12-141-3/+15
|
* change keys to use table instead of list, makes a sane destructor implementationtedu2005-12-143-22/+50
| | | | possible
* make the mutex unlock and sleep in pthread_cond_wait properly atomictedu2005-12-132-4/+13
|
* several silly bugs in pthread_cond_timedwait.tedu2005-12-131-5/+7
| | | | | | | 1. the time was off by a factor of 10 2. wouldn't return error code if timeout was reached 3. the big one. thrsleep syscall doesn't return EWOULDBLOCK. it returns -1 and puts the error in errno. doh.
* update thrsleep and thrwakeup - first arg changed from long to void *tedu2005-12-132-12/+12
|
* correct implementation of pthread_cond_signal. it doesn't raise the semtedu2005-12-133-9/+27
| | | | value if there are no waiters.
* add the posix semaphore functions. this lets vlc work.tedu2005-12-072-7/+91
| | | | ok brad
* malloc the right size, and memset after malloctedu2005-12-071-2/+4
|
* add pthread_once. unfortunately, the public pthread.h headertedu2005-12-061-1/+14
| | | | defines the pthread_once_t internals, so we're stuck with them.
* can't build shared lib without shlib_versiontedu2005-12-061-0/+2
| | | | Maxim Bourmistrov noticed.
* copy alpha atomic_lock implementation from libpthread.brad2005-12-041-0/+19
|
* add a powerpc implementation of rfork_thread().brad2005-12-041-0/+53
| | | | | | From Tim Wiess <tim at nop dot cx> ok drahn@
* copy powerpc atomic_lock implementation from libpthread.brad2005-12-041-0/+37
| | | | ok drahn@
* rcs for the makefiletedu2005-12-031-0/+2
|
* syscall is actually sched_yield now, as millert suggestedtedu2005-12-032-12/+4
|
* add userland thread library. incomplete, but functionaltedu2005-12-0312-0/+1589