Trait SharedMemoryManager
Other items inglib::shared
pub trait SharedMemoryManager<T> { unsafe fn ref_(ptr: *mut T); unsafe fn unref(ptr: *mut T); }
unsafe fn ref_(ptr: *mut T)
Callers are responsible for ensuring that a matching call to unref is made at an appropriate time.
unref
unsafe fn unref(ptr: *mut T)
Callers are responsible for ensuring that a matching call to ref was made before this is called, and that the pointer is not used after the unref call.
ref