TNeo  BETA v1.08-11-g97e5a6d
Data Fields
TN_Sem Struct Reference

Detailed Description

Semaphore.

Definition at line 88 of file tn_sem.h.

Data Fields

enum TN_ObjId id_sem
 id for object validity verification. More...
 
struct TN_ListItem wait_queue
 List of tasks that wait for the semaphore.
 
int count
 Current semaphore counter value.
 
int max_count
 Max value of count
 

Field Documentation

◆ id_sem

enum TN_ObjId TN_Sem::id_sem

id for object validity verification.

This field is in the beginning of the structure to make it easier to detect memory corruption.

Definition at line 93 of file tn_sem.h.


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