Function pingora_timeout::fast_timeout::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().