LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
JUNO_MP_MTX_API_TAG Struct Reference

#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.
 

Field Documentation

◆ Free

JUNO_STATUS_T(* JUNO_MP_MTX_API_TAG::Free) (JUNO_MP_MTX_ROOT_T *ptMtx)

Release the lock.

◆ Lock

JUNO_STATUS_T(* JUNO_MP_MTX_API_TAG::Lock) (JUNO_MP_MTX_ROOT_T *ptMtx)

Busy-wait until the lock is acquired.

◆ TryLock

JUNO_RESULT_BOOL_T(* JUNO_MP_MTX_API_TAG::TryLock) (JUNO_MP_MTX_ROOT_T *ptMtx)

Attempt to acquire the lock and return immediately.


The documentation for this struct was generated from the following file: