19.8 Semaphore Information (semaphore[])
semaphore[ <1. ID number> ] { name = <2. ID name (name)>; max_count = <3. Maximum resource count (max_count)>; initial_count = <4. Initial resource count (initial_count)>; wait_queue = <5. Wait queue attribute (wait_queue)>; }; |
- Note
The ID numbers must be assigned without an omission beginning with 1. Therefore, when specifying an ID number, be sure that the specified value is equal to or less than the number of objects defined.
The ID numbers must be assigned without an omission beginning with 1. Therefore, when specifying an ID number, be sure that the specified value is equal to or less than the number of objects defined.
- 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>