nn::os::Semaphore::Release Member Function#include <nn/os.h>
s32 Release(
s32 releaseCount = 1
);
| Name | Description | |
|---|---|---|
| in | releaseCount | Specifies how much to increase the counter by. |
Releases a semaphore (performs a "V operation") and increases the counter value.
If there are threads that are blocked and waiting on the semaphore, the highest-priority thread is unblocked. If there are multiple threads with the highest priority, one of them is unblocked with each release.
CONFIDENTIAL