Loading...
Searching...
No Matches
sema_t Struct Reference

A Semaphore. More...

Detailed Description

A Semaphore.

Definition at line 68 of file sema.h.

#include <sema.h>

Data Fields

unsigned int value
 value of the semaphore
 
sema_state_t state
 state of the semaphore
 
mutex_t mutex
 mutex of the semaphore
 

Field Documentation

◆ mutex

mutex_t sema_t::mutex

mutex of the semaphore

Definition at line 71 of file sema.h.

◆ state

sema_state_t sema_t::state

state of the semaphore

Definition at line 70 of file sema.h.

◆ value

unsigned int sema_t::value

value of the semaphore

Definition at line 69 of file sema.h.


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