tizatomic

group tizatomic

Atomic operations. This module is work-in-progress.

Typedefs

typedef struct tiz_atomic_var tiz_atomic_var_t

Atomic variable opaque handle.

Functions

OMX_ERRORTYPE tiz_atomic_var_init(tiz_atomic_var_ptr_t *app_atomic_var)

Create a new atomic binary variable.

Return

OMX_ErrorNone if success, OMX_ErrorUndefined otherwise.

Parameters
  • app_atomic_var: An atomic variable opaque handle to be initialised.

OMX_ERRORTYPE tiz_atomic_var_test_and_set(tiz_atomic_var_t *ap_atomic_var)

Atomic test and set.

Return

OMX_ErrorNone if success, OMX_ErrorUndefined otherwise.

Parameters
  • app_atomic_var: An atomic variable opaque handle.

void tiz_atomic_var_destroy(tiz_atomic_var_t *ap_atomic_var)

Destroy the atomic binary variable.

Parameters
  • app_atomic_var: An atomic variable opaque handle.