libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Loading...
Searching...
No Matches
Data Fields
mutex_t Struct Reference

#include <thread.h>

Data Fields

bool_t inited
 
CRITICAL_SECTION cs
 

Detailed Description

A mutual-exclusion lock. This can be initialized using mutex_init() and afterwards must be disposed of using mutex_destroy(). Mutexes are used to protect critical sections of code, where you want to prevent multiple threads from entering at the same time. Use the mutex_enter() and mutex_exit() functions for that.

See also
mutex_init()
mutex_destroy()
mutex_enter()
mutex_exit()

Definition at line 413 of file thread.h.

Field Documentation

◆ cs

CRITICAL_SECTION cs

Definition at line 415 of file thread.h.

◆ inited

bool_t inited

Definition at line 414 of file thread.h.


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