Packages
gee-0.8
Gee
HazardPointer
Policy
ReleasePolicy
Context
compare_and_exchange_pointer
exchange_hazard_pointer
exchange_pointer
get_hazard_pointer
get_pointer
set_default_policy
set_pointer
set_release_policy
set_thread_exit_policy
HazardPointer
@get
release
set_pointer
Description:
public
static
void
set_pointer
<
G
> (
unowned
G
** aptr,
owned
G
new_ptr,
size_t
mask =
0
,
size_t
new_mask =
0
)
Sets object safely
Parameters:
aptr
Atomic pointer.
new_ptr
New value
mask
Mask of flags.
new_mask
New mask.