mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00: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.