cs431_
homework
0.1.0
retire
Sections
Safety
In cs431_
homework::
hazard_
pointer
cs431_homework
::
hazard_pointer
Function
retire
Copy item path
Source
pub unsafe fn retire<T>(pointer:
*mut T
)
Expand description
Retires a pointer.
ยง
Safety
pointer
must be removed from shared memory before calling this function, and must be valid.
The same
pointer
should only be retired once.