Commit 1dc27702 by bernhard-gatzhammer

Added atomic variable destroy method to API description.

EMBB-517
parent 983feb43
...@@ -102,6 +102,20 @@ void embb_atomic_init( ...@@ -102,6 +102,20 @@ void embb_atomic_init(
); );
/** /**
* Destroys an atomic variable and frees its resources.
*
* \pre The atomic variable has been initialized.
* \post The atomic variable is uninitialized.
*
* \ingroup C_BASE_ATOMIC
* \notthreadsafe
*/
void embb_atomic_destroy(
emb_atomic_TYPE* variable
/**< [IN,OUT] Pointer to atomic variable to be destroyed. */
);
/**
* Computes the logical "and" of the value stored in \p variable and \c value. * Computes the logical "and" of the value stored in \p variable and \c value.
* *
* \pre The atomic variable has been initialized with \c embb_atomic_init * \pre The atomic variable has been initialized with \c embb_atomic_init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment