ladybird/Userland/Libraries/LibPthread
AnotherTest bb777459a0 LibC+LibPthread: Implement pthread_atfork()
This required a bit of rearchitecture, as pthread_atfork() required a
mutex, and duplicating a mutex impl for it was silly.
As such, this patch moves some standalone bits of pthread into LibC and
uses those to implement atfork().
It should be noted that for programs that don't use atfork(), this
mechanism only costs two atomic loads (as opposed to the normal mutex
lock+unlock) :^)
2021-02-15 17:32:56 +01:00
..
CMakeLists.txt Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
pthread_once.cpp Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00
pthread.cpp LibC+LibPthread: Implement pthread_atfork() 2021-02-15 17:32:56 +01:00
pthread.h LibC+LibPthread: Implement pthread_atfork() 2021-02-15 17:32:56 +01:00