nn::os::Semaphore::TryInitialize Member Function#include <nn/os.h> nn::Result TryInitialize( 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. |
true on success and false on failure. Tries to initialize a semaphore that has already been constructed.
CONFIDENTIAL