after_fork

Function after_fork 

Source
pub fn after_fork()
Expand description

Record that this process was just forked; call it only in the child.

The pid check already detects a forked child; this also covers a reused pid and a fork that interrupted another thread’s first use of the pool.