Event Flag
An event flag is an object used for synchronization, consisting of a pattern of bits used as flags to indicate the existence of the corresponding event. Functions are provided for creating and deleting an event flag, for event flag setting and clearing, event flag waiting, and referring event flag status. An event flag is identified by an ID number, called an event flag ID.
In addition to the bit pattern indicating the existence of corresponding events, an event flag has a queue of tasks waiting for the event flag. The event flag bit pattern is sometimes simply called event flag. The event notifier sets or clears the specified bits of the event flag. A task can be made to wait for all or some of the event flag bits to be set. A task waiting for an event flag is put in the queue of that event flag.
For more details, see the following:

Comments
Click here to Post a Comment