muteki
Loading...
Searching...
No Matches
critical_section_s Struct Reference

Critical section descriptor structure. More...

#include <threading.h>

Data Fields

int magic
 
thread_tthr
 
unsigned short refcount
 
threading_waitable_t wait_state
 Wait state of the current critical section.
 
char _padding_0x13
 

Detailed Description

Critical section descriptor structure.

Field Documentation

◆ magic

int critical_section_s::magic

Magic. Always 0x202. Note that for some reason this is the same as message_queue_t.

◆ refcount

unsigned short critical_section_s::refcount

Reference counter.

◆ thr

thread_t* critical_section_s::thr

Thread descriptor for this thread.

◆ wait_state

threading_waitable_t critical_section_s::wait_state

Wait state of the current critical section.

See also
threading_waitable_t

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