-
Notifications
You must be signed in to change notification settings - Fork 7
semaphore acquire
Alairion edited this page May 8, 2021
·
3 revisions
nes::semaphore::acquire
(1) void acquire();
- Wait until a resource is available, then decrements the resource counter.
None.
- None.
- May throw an exception is the resource counter can not be decremented.
- On Windows, calls
WaitForSingleObject
On Posix systems, callssem_wait