Skip to main content

COCOON_PID

Static COCOON_PID 

Source
static COCOON_PID: AtomicU32
Expand description

Last-known PID of the Cocoon child process. Mirrored here so callers can read it without taking the async COCOON_STATE mutex (e.g. from IPC handlers such as extensionHostStarter:start). Set after spawn and cleared on shutdown. 0 means “not running”.