pingora_timeout::fast_timeout

Function pause_for_fork

Source
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().