Skip to main content

mark_persistent

Function mark_persistent 

Source
pub unsafe fn mark_persistent(o: Obj)
Expand description

Makes an object and everything it refers to persistent: never counted, never freed, never updated in place, and therefore safe to read from any thread.