summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
2009-02-20thrsigdivert() takes a sigset_t, not a pointer to one. Detected byPhilip Guenthe
2009-02-20apparently all the other libraries get linted, so I'll just have to live with itTed Unangst
2009-02-20Fix a race in the reaper discovered by Tobias Ulmer. kevents are identified ...Ted Unangst
2009-02-20the lint warnings are more annoying than anything else. we already have a fu...Ted Unangst
2009-02-15these are public domain, verified with author; spotted by jjTheo de Raadt
2008-10-13use calloc() instead of malloc() and memset()Kevin Lo
2008-10-03Make sigwait() work correctly. In particular, it'll work when thePhilip Guenthe
2008-10-02the license on this is PD; david leonard says soTheo de Raadt
2008-10-01Assert my copyright on files I gave to d@ back in 1998.Dale Rahn
2008-08-14Match libpthread's behavior and make pthread_join(NULL, whatever) failPhilip Guenthe
2008-08-14Fix 5771/library: in pthread_exit(), delay the call to _sem_post() thatPhilip Guenthe
2008-08-14If the initial thread calls pthread_exit(), don't overwrite its threadPhilip Guenthe
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-13remove _MALLOC_LOCK_INIT; major bump; ok deraadt@Otto Moerbeek
2008-06-05- Add fork/vfork wrapper functions to reset state in the child process.Kurt Miller
2008-05-21Use _C_LABEL when appropriate.Miod Vallat
2008-04-24Return the proper values upon failure per POSIX for pthread_sigmask(3) andKurt Miller
2008-02-22fix rwlocks to work with the "initialized" form, from Philip GuentherTed Unangst
2008-01-23- add missing libc locking functions for _thread_atexit_lock() andKurt Miller
2008-01-01- make arc4random*() functions thread safe. Use a custom spinlock functionKurt Miller
2007-07-08Report the correct stack size and top for the primordial thread inKurt Miller
2007-06-05_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, soKurt Miller
2007-05-25protect against races while initializing static mutexes. okay marc@ tedu@Kurt Miller
2007-05-18Register the locking hooks with ld.so.Artur Grabowski
2007-04-10when kevent fails, the errno is a lot more interesting to print than -1Ted Unangst
2007-04-10new lines in error messagesTed Unangst
2007-03-24rfork sh bits.Miod Vallat
2006-10-27two comment typos from tbertTed Unangst
2006-04-12make rthreads compile againHenning Brauer
2006-01-06When suspending, check the tid of the arg, not of ourselves, dohOtto Moerbeek
2006-01-06Initialize thread debug in _rthread_init. The debug verbosityMarco S Hyman
2006-01-06guess it's time to remove the init printf; sturm found a port thatTed Unangst
2006-01-05Use the system include <spinlock.h> to get the proper functionMarco S Hyman
2006-01-05In pthread_join(), check if we create a deadlock trying to joinOtto Moerbeek
2006-01-05Fixup stack, it needs 16 bytes headroom. Help from miod@ and drahn.Otto Moerbeek
2006-01-05Remove redundant mprotect() calls (we're unmapping the region anyway)Otto Moerbeek
2006-01-05move malloc lock to libc interface fileTed Unangst
2006-01-05add -Wstrict-prototypes -Wmissing-prototypes -Wsign-compareMarco S Hyman
2006-01-04Cleanup struct pthread and stack after thread exits. This version doesOtto Moerbeek
2006-01-04allow threads to be created in a detached stateMarco S Hyman
2006-01-02Don't call pthread_self()->tid when getthrid() will do fine.Otto Moerbeek
2006-01-01thread stack handling changes. Add guard zones and allow stackMarco S Hyman
2006-01-01Nicer implementation of pthread_main_np(), which avoids the spinlock.Otto Moerbeek
2005-12-31Add "print debug foo" function safe to use in signal handlers, example:Marco S Hyman
2005-12-31No point in saving a bunch of extra registers, and the child's state mustDale Rahn
2005-12-31add pthread_mutexattr_gettype.Brad Smith
2005-12-31Implement suspend/resume and creation of initially suspended threads.Otto Moerbeek
2005-12-30Remove exitinng thread from the list of threads. ok tedu@Otto Moerbeek
2005-12-30use queue.h macros for thread house keeping; make some vars non-staticOtto Moerbeek
2005-12-30__aligned__ isn't really necessary on the struct, an aligned memberTed Unangst