summaryrefslogtreecommitdiffstats
path: root/lib/libc/thread
AgeCommit message (Expand)AuthorFilesLines
2021-01-06Fix two issues related to thread private data in asr.otto2-14/+18
2020-10-12annoying whitespacederaadt1-2/+2
2020-07-06Add support for timeconting in userland.pirofti1-2/+2
2020-02-06Instead of opting in to futexes on archs with atomics opt out on archsjsg1-8/+5
2019-10-21Kill unused _wait() function.mpi1-8/+1
2019-02-13KNF.mpi1-2/+2
2019-01-29Remove unused <assert.h> header.mpi1-2/+1
2019-01-29There's no point in asserting that a pointer is not NULL beforempi1-3/+1
2019-01-10Make the "not my pool" searching loop a tiny bit smarter, whileotto1-3/+59
2018-10-21Switch alpha to futex(2) based condvars, mutexes and semaphores.visa1-5/+6
2018-10-15Switch powerpc to futex(2) based condvars, mutexes and semaphores.visa1-2/+2
2018-09-24enable futex(2) based mutexes on armv7 and use futex based semaphores injsg1-3/+3
2018-06-04Use process-private futexes. This avoids the overhead of calling into uvmkettenis1-6/+6
2018-05-19Switch sparc64 to futex(2) based mutexes and condvars.mpi1-2/+3
2018-05-13Enable futex(2)-based mutex on arm64.visa1-2/+3
2018-05-13Add memory barriers to libc's _spinlock() to make the mechanismvisa1-2/+11
2018-04-24Validate timespec and return ECANCELED when interrupted with SA_RESTART.pirofti1-3/+5
2017-12-05Implement __cxa_thread_atexit to support C++11 thread_local scope. Thekettenis1-1/+2
2017-11-04Revert recent changes to unbreak ports/net/sambajca4-101/+10
2017-10-28If the init_routine used with pthread_once() is canceled, then we need toguenther1-1/+11
2017-10-28Change pthread_cleanup_{push,pop} to macros that store the cleanup infoguenther3-9/+90
2017-09-05Move mutex, condvar, and thread-specific data routes, pthread_once, andguenther12-863/+161
2017-08-15s/DEF_STD/DEF_STRONG/ to match namespace.h differences between librthreadguenther5-29/+29
2017-08-15Sort headers per style(9)guenther10-34/+31
2017-08-15Copy files from ../librthread in preparation for moving functionalityguenther13-0/+3158
2016-09-02fix format stringchl1-2/+2
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.guenther4-137/+22
2015-11-10libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork()guenther1-1/+18
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,guenther3-3/+77
2014-07-16zap trailing newlines; "go for it" deraadtokan1-2/+1
2008-06-13remove _MALLOC_LOCK_INIT; major bump; ok deraadt@otto1-9/+1
2008-01-01- make arc4random*() functions thread safe. Use a custom spinlock functionkurt1-1/+19
2007-11-19remove unused zero length file.kurt1-0/+0
2007-06-05_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, sokurt3-24/+51
2006-02-22Avouid a race in atexit() handling by introducing a lock. Problemotto1-1/+19
2004-06-07major bump to libc and libpthread to break the dependency of amarc5-51/+39
2002-11-05thread safe libc -- 2nd try. OK miod@, millert@marc3-37/+20
2002-11-03back out previous patch.. there are still some vax/m68k issuesmarc3-20/+37
2002-11-03libc changes for thread safety. Tested on:marc3-37/+20
2001-09-04put changes back, this time ALL the files.fgsch1-3/+3
2001-08-30Back out fgsch@'s tree breaking commits.todd1-3/+3
2001-08-30fix some const warningsfgsch1-3/+3
2000-01-14malloc lock helpersd1-0/+21
2000-01-06rename thread_storage to unithread_storage to avoid object name conflictd2-3/+3
2000-01-06thread specific storage and fd locking for single-threaded libc (ie, no-ops)d3-0/+98