pub fn pause_for_fork()
Expand description
Pause the timer for fork()
Because RwLock across fork() is undefined behavior, this function makes sure that no one holds any locks.
This function should be called right before fork().
pub fn pause_for_fork()
Pause the timer for fork()
Because RwLock across fork() is undefined behavior, this function makes sure that no one holds any locks.
This function should be called right before fork().