summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_fork.c
AgeCommit message (Expand)Author
2024-11-13libthr: allow very early atfork registrationKyle Evans
2024-03-06libthr: remove explicit sys/cdefs.h includesKonstantin Belousov
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-05-22libthr rtld locks: do not leak URWLOCK_READ_WAITERS into childKonstantin Belousov
2021-01-11libthr: wrap pdfork(2), same as fork(2).Konstantin Belousov
2019-07-31Avoid conflicts with libc symbols in libthr jump table.Konstantin Belousov
2019-01-29Untangle jemalloc and mutexes initialization.Konstantin Belousov
2018-11-30Use _thr_isthreaded() and _thr_setthreaded() wrappersEric van Gyzen
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2016-04-08Use __FBSDID() for .c files from lib/libthr/thread.Konstantin Belousov
2016-03-21Lock pshared_lock shared around fork, to ensure that the COW snapshotKonstantin Belousov
2015-12-27Typo.Konstantin Belousov
2015-01-03Fix known issues which blow up the process after dlopen("libthr.so")Konstantin Belousov
2014-05-24Right now, the rtld prefork hook locks the rtld bind lock in the readKonstantin Belousov
2012-08-23Eliminate redundant code, _thr_spinlock_init() has already been calledDavid Xu
2010-09-24In most cases, cancel_point and cancel_async needn't be checked again,David Xu
2010-09-19Because atfork lock is held while forking, a thread cancellation triggeredDavid Xu
2010-09-13Convert thread list lock from mutex to rwlock.David Xu
2010-09-01In function __pthread_cxa_finalize(), also make code for removingDavid Xu
2010-09-01pthread_atfork should acquire writer lock and protect the codeDavid Xu
2010-09-01Change atfork lock from mutex to rwlock, also make mutexes used by malloc()David Xu
2010-09-01Add signal handler wrapper, the reason to add it becauses there areDavid Xu
2010-08-27Unregister thread specific data destructor when a corresponding dsoDavid Xu
2010-08-23On shared object unload, in __cxa_finalize, call and clear all installedKonstantin Belousov
2009-05-11These are some cosmetic changes to improve the clarity of libthr's fork imple...Brian Feldman
2009-03-19Forcibly unlock the malloc() locks in the child process after fork(),Konstantin Belousov
2008-12-02Provide custom simple allocator for rtld locks in libthr. The allocatorKonstantin Belousov
2008-12-01Invoke _rtld_atfork_post earlier, before we reinitialize rtld locksAlexander Kabaev
2008-11-29Unlock the malloc() locks in the child process after fork(). This givesKonstantin Belousov
2008-11-27Add two rtld exported symbols, _rtld_atfork_pre and _rtld_atfork_post.Konstantin Belousov
2007-01-12Remove 3rd clause, renumber, ok per emailWarner Losh
2006-11-24Eliminate atomic operations in thread cancellation functions, it shouldDavid Xu
2006-10-14Don't inherit THR_FLAGS_NEED_SUSPEND for child process, child processDavid Xu
2006-09-06Replace internal usage of struct umtx with umutex which can supportsDavid Xu
2006-04-04WARNS level 4 cleanup.David Xu
2006-01-12In preparation for a new malloc implementation:Jason Evans
2006-01-03Remove in-progress wait code to sync with libpthread's behavior.David Xu
2005-04-02Import my recent 1:1 threading working. some features improved includes:David Xu