summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread_fork.c
AgeCommit message (Expand)Author
2017-10-29Prefer <elf.h> to the non portable <sys/exec_elf.h>.Martin Pieuchot
2017-09-05Move mutex, condvar, and thread-specific data routes, pthread_once, andPhilip Guenther
2017-07-30disable post fork checks for now, too much turbulence in the airTed Unangst
2017-07-27bad things can (and will) happen if a threaded program calls fork() andTed Unangst
2016-09-04Get rid of ticket support, replace "struct _spinlock" with "_atomic_lock_t".Michal Mazurek
2016-09-01Less lock contention by using more pools for mult-threaded programs.Otto Moerbeek
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-04-02Eliminate the need to explicitly invoke syscalls via their _thread_sys_*Philip Guenther
2016-01-27Replace the malloc spinlock with a mutex. This lock is held over system callsMark Kettenis
2015-10-18ld.so no longer needs or uses a bind lock, so stop setting it. ThisPhilip Guenther
2015-05-19Instead of testing for __ELF__ and/or vax, leave out the bits for interfacingPhilip Guenther
2015-05-10In the child after fork, the dl lock has to be forced as its inner spinlockPhilip Guenther
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,Philip Guenther
2013-11-29Don't try to reuse _initial_thread in the fork() wrapper, as thePhilip Guenther
2013-06-25nmask and omask only used on ELF. Noted by todd@Philip Guenther
2013-06-21The bind lock must only be grabbed with all signals masked.Philip Guenther
2013-06-01cleanup and consolidate the spinlock_lock (what a name!) code.Ted Unangst
2012-08-22We want to check that the dynamic linker is available at run-time, soMatthew Dempsky
2012-08-22Test for __PIC__ instead of PIC in preparation for eliminating -DPICMatthew Dempsky
2011-11-06Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includesPhilip Guenthe
2009-11-27Change threxit() to take a pointer to a pid_t to zero out from thePhilip Guenthe
2009-10-21After forking, the child is single threaded, so tell libc that. ThisPhilip Guenthe
2008-06-05- Add fork/vfork wrapper functions to reset state in the child process.Kurt Miller