uwb-core DPL (Decawave Porting Layer) mutex wrappers More...
uwb-core DPL (Decawave Porting Layer) mutex wrappers
Definition in file dpl_mutex.h.
Include dependency graph for dpl_mutex.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dpl_mutex |
| dpl mutex wrapper More... | |
Functions | |
| dpl_error_t | dpl_mutex_init (struct dpl_mutex *mu) |
| Initializes a mutex object. More... | |
| dpl_error_t | dpl_mutex_pend (struct dpl_mutex *mu, dpl_time_t timeout) |
| Pend (wait) for a mutex. More... | |
| dpl_error_t | dpl_mutex_release (struct dpl_mutex *mu) |
| Release a mutex. More... | |
| dpl_error_t dpl_mutex_init | ( | struct dpl_mutex * | mu | ) |
Initializes a mutex object.
| [out] | mu | pre-allocated mutex structure, must not be NULL. |
| dpl_error_t dpl_mutex_pend | ( | struct dpl_mutex * | mu, |
| dpl_time_t | timeout | ||
| ) |
Pend (wait) for a mutex.
| [in] | mu | Pointer to mutex. |
| [in] | timeout | Timeout, in os ticks. A timeout of 0 means do not wait if not available. A timeout of OS_TIMEOUT_NEVER means wait forever. |
| dpl_error_t dpl_mutex_release | ( | struct dpl_mutex * | mu | ) |
Release a mutex.