|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
#include <mtx_api.h>
Data Fields | |
| JUNO_RESULT_BOOL_T(* | TryLock )(JUNO_MP_MTX_ROOT_T *ptMtx) |
| Attempt to acquire the lock and return immediately. | |
| JUNO_STATUS_T(* | Lock )(JUNO_MP_MTX_ROOT_T *ptMtx) |
| Busy-wait until the lock is acquired. | |
| JUNO_STATUS_T(* | Free )(JUNO_MP_MTX_ROOT_T *ptMtx) |
| Release the lock. | |
| JUNO_STATUS_T(* JUNO_MP_MTX_API_TAG::Free) (JUNO_MP_MTX_ROOT_T *ptMtx) |
Release the lock.
| JUNO_STATUS_T(* JUNO_MP_MTX_API_TAG::Lock) (JUNO_MP_MTX_ROOT_T *ptMtx) |
Busy-wait until the lock is acquired.
| JUNO_RESULT_BOOL_T(* JUNO_MP_MTX_API_TAG::TryLock) (JUNO_MP_MTX_ROOT_T *ptMtx) |
Attempt to acquire the lock and return immediately.