mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
In order to avoid the possibility of a deadlock if the DMD state lock is currently acquired when forking a |pthread_atfork| hook is added to wait for and acquire the lock prior to forking, then release it after forking.
This is DMD. See https://wiki.mozilla.org/Performance/MemShrink/DMD for details on how to use it.