nn::os::Semaphore::Semaphore Constructor#include <nn/os.h>
Semaphore(
s32 initialCount,
s32 maxCount
);
| Name | Description | |
|---|---|---|
| in | initialCount | Count value for the semaphore immediately after creation. |
| in | maxCount | Maximum count value that this semaphore can take. |
Constructs and initializes a semaphore.
Two constructors are provided: one performs initialization, and the other does not. You must call Initialize separately when you use the non-initializing constructor.
CONFIDENTIAL