1
<!-- ##### SECTION Title ##### -->
4
<!-- ##### SECTION Short_Description ##### -->
5
Simple thread synchronization
7
<!-- ##### SECTION Long_Description ##### -->
9
An #EFlag is a simple thread synchronization mechanism. It implements a
10
thread-safe flag that can be blocked on.
13
<!-- ##### SECTION See_Also ##### -->
18
<!-- ##### SECTION Stability_Level ##### -->
21
<!-- ##### SECTION Image ##### -->
24
<!-- ##### STRUCT EFlag ##### -->
26
The <structname>EFlag</structname> struct is an opaque data structure
27
representing a thread-safe flag. It should be accessed only by using
28
the following functions.
32
<!-- ##### FUNCTION e_flag_new ##### -->
41
<!-- ##### FUNCTION e_flag_is_set ##### -->
50
<!-- ##### FUNCTION e_flag_set ##### -->
58
<!-- ##### FUNCTION e_flag_clear ##### -->
66
<!-- ##### FUNCTION e_flag_wait ##### -->
74
<!-- ##### FUNCTION e_flag_timed_wait ##### -->
84
<!-- ##### FUNCTION e_flag_free ##### -->