LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
mtx_api.h File Reference

Minimal mutex API for cooperative concurrency. More...

#include "juno/macros.h"
#include "juno/status.h"
#include "juno/module.h"
#include "juno/types.h"
Include dependency graph for mtx_api.h:

Go to the source code of this file.

Data Structures

struct  JUNO_MP_MTX_API_TAG
 

Typedefs

typedef struct JUNO_MP_MTX_ROOT_TAG JUNO_MP_MTX_ROOT_T
 
typedef struct JUNO_MP_MTX_API_TAG JUNO_MP_MTX_API_T
 

Functions

struct JUNO_MP_MTX_ROOT_TAG JUNO_MODULE_ROOT (JUNO_MP_MTX_API_T, JUNO_MODULE_EMPTY)
 
static JUNO_STATUS_T JunoMp_MtxVerify (const JUNO_MP_MTX_ROOT_T *ptMtx)
 Verify a mutex instance and its API table.
 

Detailed Description

Minimal mutex API for cooperative concurrency.

This API has been generated by LibJuno: https://www.robinonsay.com/libjuno/

Typedef Documentation

◆ JUNO_MP_MTX_API_T

◆ JUNO_MP_MTX_ROOT_T

typedef struct JUNO_MP_MTX_ROOT_TAG JUNO_MP_MTX_ROOT_T

Function Documentation

◆ JUNO_MODULE_ROOT()

struct JUNO_MP_MTX_ROOT_TAG JUNO_MODULE_ROOT ( JUNO_MP_MTX_API_T  ,
JUNO_MODULE_EMPTY   
)

◆ JunoMp_MtxVerify()

static JUNO_STATUS_T JunoMp_MtxVerify ( const JUNO_MP_MTX_ROOT_T ptMtx)
inlinestatic

Verify a mutex instance and its API table.