Skip to main content

LIFECYCLE

Static LIFECYCLE 

Source
pub(crate) static LIFECYCLE: Mutex<usize>
Expand description

The handles alive, held while one is created or released and while the probe forks: before 4.0 the library rebuilds a process-wide processor table in every handle it creates and frees it in every one it releases, and from 4.1 handle setup takes process-wide locks that a child forked meanwhile inherits held. The probe forks only while no handle is alive, since a live session’s worker threads hold that state as well.