pub unsafe fn aws_atomic_init_ptr(var: *mut AwsCAtomicVar, p: *mut c_void)
Expand description

Initializes an atomic variable with a pointer value. This operation should be done before any other operations on this atomic variable, and must be done before attempting any parallel operations.

Safety

The caller must ensure that the AwsCAtomicVar pointer is valid.