Structure SilcAtomicPointer
NAME
typedef struct { ... } SilcAtomicPointer;
DESCRIPTION
The atomic operation structure given as argument to all atomic
operation functions. It hols the actual pointer variable.
EXAMPLE
SilcAtomicPointer ptr;
// Initialize atomic variable
silc_atomic_init_pointer(&ptr, NULL);
...
// Set pointer
silc_atomic_set_pointer(&ptr, context);
...
// Uninitialize atomic variable
silc_atomic_uninit_pointer(&ptr);
|