mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 08:15:06 +00:00
![]() 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) :^) |
||
---|---|---|
.. | ||
FILE.h | ||
posix1_lim.h | ||
pthread_integration.h | ||
stdint.h |