20.12 Eventflag Information (flag[])
flag[ <1. ID number> ] { name = <2. ID name (name)>; initial_pattern = <3. Initial bit pattern (initial_pattern)>; wait_multi = <4. Multiple wait permission attribute (wait_multi)>; clear_attribute = <5. Clear attribute (clear_attribute)>; wait_queue = <6. Wait queue attribute (wait_queue)>; }; |
- Description
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
Define the ID name. The specified ID name is output to the system information header file (kernel_id.h) in the form of the following.
#define <ID name> <ID number>
- Description
Define the attribute regarding whether multiple tasks are permitted to wait for the eventflag.
Define the attribute regarding whether multiple tasks are permitted to wait for the eventflag.
- When omitting
The set value in the default system configuration file (factory setting: "TA_WSGL") applied.
The set value in the default system configuration file (factory setting: "TA_WSGL") applied.
- When omitting
The set value in the default system configuration file (factory setting: NO) applied.
The set value in the default system configuration file (factory setting: NO) applied.
- Definition range
Select either of the following: However, when the TA_CLR attribute is not specified, the wait queue is managed in the FIFO order even if TA_TPRI is specified for wait_queue. This behavior falls outside mITRON4.0 specification.
Select either of the following: However, when the TA_CLR attribute is not specified, the wait queue is managed in the FIFO order even if TA_TPRI is specified for wait_queue. This behavior falls outside mITRON4.0 specification.