get_hazard_pointer
Description:
public static HazardPointer<G>? get_hazard_pointer<G> (unowned G** aptr, size_t mask = 0, out size_t mask_out = null)
Gets hazard pointer from atomic pointer safely.
Parameters:
aptr |
Atomic pointer. |
mask |
Mask of bits. |
mask_out |
Result of mask. |
Returns:
Hazard pointer containing the element. |