summaryrefslogtreecommitdiff
path: root/lib/libc/thread
AgeCommit message (Expand)Author
2024-09-20remove unneeded semicolons; checked by millert@Jonathan Gray
2024-08-18Use struct __sFILE instead of FILE in thread locking callbackPhilip Guenther
2024-01-10pthread_cond_timedwait(3): accept negative absolute timeoutsScott Soule Cheloha
2024-01-07libc, librthread: _twait: subtraction is not comparisonScott Soule Cheloha
2023-11-08libc, librthread: _twait: fully validate absolute timeoutScott Soule Cheloha
2023-08-05Remove empty file left behind in a revert during p2k17Theo Buehler
2023-04-19remove duplicate includesJonathan Gray
2022-12-27spelling fixes; from paul tagliamonteJason McIntyre
2021-06-13Save and restore errno around FUTEX_WAIT futex(2) operations. While thereMark Kettenis
2021-05-21The implementation of the FUTEX_WAIT option in futex(2) is subtly broken.Mark Kettenis
2021-01-06Fix two issues related to thread private data in asr.Otto Moerbeek
2020-10-12annoying whitespaceTheo de Raadt
2020-07-06Add support for timeconting in userland.Paul Irofti
2020-02-06Instead of opting in to futexes on archs with atomics opt out on archsJonathan Gray
2019-10-21Kill unused _wait() function.Martin Pieuchot
2019-02-13KNF.Martin Pieuchot
2019-01-29Remove unused <assert.h> header.Martin Pieuchot
2019-01-29There's no point in asserting that a pointer is not NULL beforeMartin Pieuchot
2019-01-10Make the "not my pool" searching loop a tiny bit smarter, whileOtto Moerbeek
2018-10-21Switch alpha to futex(2) based condvars, mutexes and semaphores.Visa Hankala
2018-10-15Switch powerpc to futex(2) based condvars, mutexes and semaphores.Visa Hankala
2018-09-24enable futex(2) based mutexes on armv7 and use futex based semaphores inJonathan Gray
2018-06-04Use process-private futexes. This avoids the overhead of calling into uvmMark Kettenis
2018-05-19Switch sparc64 to futex(2) based mutexes and condvars.Martin Pieuchot
2018-05-13Enable futex(2)-based mutex on arm64.Visa Hankala
2018-05-13Add memory barriers to libc's _spinlock() to make the mechanismVisa Hankala
2018-04-24Validate timespec and return ECANCELED when interrupted with SA_RESTART.Paul Irofti
2017-12-05Implement __cxa_thread_atexit to support C++11 thread_local scope. TheMark Kettenis
2017-11-04Revert recent changes to unbreak ports/net/sambaJeremie Courreges-Anglas
2017-10-28If the init_routine used with pthread_once() is canceled, then we need toPhilip Guenther
2017-10-28Change pthread_cleanup_{push,pop} to macros that store the cleanup infoPhilip Guenther
2017-09-05Move mutex, condvar, and thread-specific data routes, pthread_once, andPhilip Guenther
2017-08-15s/DEF_STD/DEF_STRONG/ to match namespace.h differences between librthreadPhilip Guenther
2017-08-15Sort headers per style(9)Philip Guenther
2017-08-15Copy files from ../librthread in preparation for moving functionalityPhilip Guenther
2016-09-02fix format stringCharles Longeau
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2015-11-10libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork()Philip Guenther
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,Philip Guenther
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2008-06-13remove _MALLOC_LOCK_INIT; major bump; ok deraadt@Otto Moerbeek
2008-01-01- make arc4random*() functions thread safe. Use a custom spinlock functionKurt Miller
2007-11-19remove unused zero length file.Kurt Miller
2007-06-05_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, soKurt Miller
2006-02-22Avouid a race in atexit() handling by introducing a lock. ProblemOtto Moerbeek
2004-06-07major bump to libc and libpthread to break the dependency of aMarco S Hyman
2002-11-05thread safe libc -- 2nd try. OK miod@, millert@Marco S Hyman
2002-11-03back out previous patch.. there are still some vax/m68k issuesMarco S Hyman
2002-11-03libc changes for thread safety. Tested on:Marco S Hyman
2001-09-04put changes back, this time ALL the files.Federico G. Schwindt