Author Elad Lahav
Recipients Elad Lahav
Date 2020-02-26.19:18:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The attached code causes the child processes to hang on QNX. The hang is caused by the logging module trying to acquire the module lock while in an atfork() handler. In a system where semaphore state is kept in user mode and is thus inherited from the parent on fork() the semaphore may appear to have a value of 0, and thus will never be posted to in the single-threaded child.
I don't know how it works on other systems - may be pure chance.
Date User Action Args
2020-02-26 19:18:35Elad Lahavsetrecipients: + Elad Lahav
2020-02-26 19:18:35Elad Lahavsetmessageid: <>
2020-02-26 19:18:35Elad Lahavlinkissue39763 messages
2020-02-26 19:18:35Elad Lahavcreate