Skip to main content

enter_no_alloc

Function enter_no_alloc 

Source
pub fn enter_no_alloc()
Expand description

Mark this thread as a shard thread: from here on, allocating aborts.

Called once by each shard as it enters its loop. There is no matching exit in normal operation because a shard thread never stops being one.