Skip to main content

global_pool_peek

Function global_pool_peek 

Source
pub fn global_pool_peek() -> Option<Pool>
Expand description

Returns the process-wide buffer pool only if something already initialized it; never triggers the virtual reservation itself. Metrics scrapes read through this so that observing a process (which may never install the pool) does not mmap the pool’s address space as a side effect.