Commit 95ba8bdf authored by Moe Jette's avatar Moe Jette
Browse files

Use local variable to track if pthread_atfork has ever been called.

Previous logic would deadlock on fork if log_init() was followed by 
log_fini() since log_fini destroys the mutex that atfork works with.
parent be102579
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment