summaryrefslogtreecommitdiffstats
path: root/lib/librthread
AgeCommit message (Expand)AuthorFilesLines
2009-11-27Convert thrsigdivert to (almost) be sigtimedwait by adding siginfo_tguenther2-4/+5
2009-11-27Change threxit() to take a pointer to a pid_t to zero out from theguenther5-102/+43
2009-11-19pthread_rwlock_wrlock() should increment the count of writers justguenther1-4/+3
2009-10-27- bump the majors of libpthread and librthread, as they used to return anjasper1-1/+1
2009-10-21Add f*lockfile() routines to librthreadguenther3-3/+311
2009-10-21After forking, the child is single threaded, so tell libc that. Thisguenther1-1/+4
2009-09-27rfork_thread() lacked PIC handling for CERROR, resulting in a text relocationguenther1-1/+8
2009-09-24rfork_thread() lacked PIC handling for CERROR, resulting in a text relocationguenther1-1/+6
2009-06-01A much better atomic lock routine.miod1-27/+10
2009-06-01Correct the _atomic_lock() asm so that gcc accepts the constraintsguenther1-4/+4
2009-04-21Increase default thread stack size to 256K on 32bit archs and 512K onkurt1-2/+6
2009-02-20thrsigdivert() takes a sigset_t, not a pointer to one. Detected byguenther2-4/+4
2009-02-20apparently all the other libraries get linted, so I'll just have to live with ittedu1-2/+2
2009-02-20Fix a race in the reaper discovered by Tobias Ulmer. kevents are identified by pid,tedu1-2/+3
2009-02-20the lint warnings are more annoying than anything else. we already have a full set of warnings from the compilertedu1-2/+2
2009-02-15these are public domain, verified with author; spotted by jjderaadt1-1/+4
2008-10-13use calloc() instead of malloc() and memset()kevlo4-26/+15
2008-10-03Make sigwait() work correctly. In particular, it'll work when theguenther2-40/+8
2008-10-02the license on this is PD; david leonard says soderaadt3-3/+9
2008-10-01Assert my copyright on files I gave to d@ back in 1998.drahn1-2/+18
2008-08-14Match libpthread's behavior and make pthread_join(NULL, whatever) failguenther1-2/+4
2008-08-14Fix 5771/library: in pthread_exit(), delay the call to _sem_post() thatguenther1-4/+4
2008-08-14If the initial thread calls pthread_exit(), don't overwrite its threadguenther1-3/+5
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.ray1-8/+1
2008-06-13remove _MALLOC_LOCK_INIT; major bump; ok deraadt@otto2-7/+2
2008-06-05- Add fork/vfork wrapper functions to reset state in the child process.kurt4-21/+208
2008-05-21Use _C_LABEL when appropriate.miod1-2/+2
2008-04-24Return the proper values upon failure per POSIX for pthread_sigmask(3) andkurt1-2/+2
2008-02-22fix rwlocks to work with the "initialized" form, from Philip Guenthertedu1-3/+45
2008-01-23- add missing libc locking functions for _thread_atexit_lock() andkurt1-1/+18
2008-01-01- make arc4random*() functions thread safe. Use a custom spinlock functionkurt1-1/+18
2007-07-08Report the correct stack size and top for the primordial thread inkurt1-16/+21
2007-06-05_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, sokurt2-2/+35
2007-05-25protect against races while initializing static mutexes. okay marc@ tedu@kurt1-5/+12
2007-05-18Register the locking hooks with ld.so.art1-1/+45
2007-04-10when kevent fails, the errno is a lot more interesting to print than -1tedu1-5/+7
2007-04-10new lines in error messagestedu1-3/+3
2007-03-24rfork sh bits.miod2-0/+121
2006-10-27two comment typos from tberttedu2-4/+194
2006-04-12make rthreads compile againhenning1-2/+2
2006-01-06When suspending, check the tid of the arg, not of ourselves, dohotto1-2/+2
2006-01-06Initialize thread debug in _rthread_init. The debug verbositymarc1-1/+3
2006-01-06guess it's time to remove the init printf; sturm found a port thattedu1-3/+1
2006-01-05Use the system include <spinlock.h> to get the proper functionmarc11-22/+22
2006-01-05In pthread_join(), check if we create a deadlock trying to joinotto1-7/+9
2006-01-05Fixup stack, it needs 16 bytes headroom. Help from miod@ and drahn.otto1-2/+2
2006-01-05Remove redundant mprotect() calls (we're unmapping the region anyway)otto2-7/+13
2006-01-05move malloc lock to libc interface filetedu2-24/+24
2006-01-05add -Wstrict-prototypes -Wmissing-prototypes -Wsign-comparemarc6-16/+157
2006-01-04Cleanup struct pthread and stack after thread exits. This version doesotto4-23/+148