|
Zen API
|
| kStatus kSemaphore_Construct | ( | kSemaphore * | semaphore, |
| kSize | initialCount, | ||
| kAlloc | allocator | ||
| ) |
Constructs a semaphore object.
| semaphore | Destination for the constructed object handle. |
| initialCount | Initial value of the semaphore. |
| allocator | Memory allocator (or kNULL for default). |