In the child after fork, the dl lock has to be forced as its inner spinlock
authorguenther <guenther@openbsd.org>
Sun, 10 May 2015 18:33:15 +0000 (18:33 +0000)
committerguenther <guenther@openbsd.org>
Sun, 10 May 2015 18:33:15 +0000 (18:33 +0000)
commite0ad4b33be27625a6d90fe45e3344ce322784cf9
tree2ff73509b2043283a770ea62e00886008d060ad1
parent3da9db4d0bea99cf1e18ddd7776ee77ff8c444b3
In the child after fork, the dl lock has to be forced as its inner spinlock
may have been grabbed by another thread in the parent before the fork

problem report from dcoppa@, ok kettenis@
lib/librthread/rthread.c
lib/librthread/rthread_fork.c