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.