Re: patch: atfork unlock

2023-05-21 Thread Martin Pieuchot
On 07/12/22(Wed) 22:17, Joel Knight wrote: > Hi. As first mentioned on misc[1], I've identified a deadlock in libc > when a process forks, the children are multi-threaded, and they set > one or more atfork callbacks. The diff below causes ATFORK_UNLOCK() to > release the lock even when the process

patch: atfork unlock

2022-12-07 Thread Joel Knight
Hi. As first mentioned on misc[1], I've identified a deadlock in libc when a process forks, the children are multi-threaded, and they set one or more atfork callbacks. The diff below causes ATFORK_UNLOCK() to release the lock even when the process isn't multi-threaded. This avoids the deadlock. Wit