Skip to main content

take_foreign

Function take_foreign 

Source
pub fn take_foreign(seg: &Segment) -> *mut u8
Expand description

Take the whole foreign-free list, leaving it empty. Only the owning shard may call this — that exclusivity is what makes the structure ABA-free (see [push_foreign]).