Type Definition tikv_jemalloc_sys::extent_destroy_t

source ·
pub type extent_destroy_t = unsafe extern "C" fn(extent_hooks: *mut extent_hooks_t, addr: *mut c_void, size: size_t, committed: bool, arena_ind: c_uint);
Expand description

Extent destruction function.

Unconditionally destroys an extent at given addr and size with committed/decommited memory as indicated, on behalf of arena arena_ind.

This function may be called to destroy retained extents during arena destruction (see arena.<i>.destroy).