Releases units to an RT semaphore. Threads waiting on the RT semaphore may be allowed to run (released) if this call supplies all the units they were waiting for.
Visual Basic:
Sub ntxReleaseRtSemaphore( ByVal hSemaphore As Integer, ByVal wUnits As Short)
Visual C#:
void ntxReleaseRtSemaphore ( Int32 hSemaphore, Int16 wUnits );
hSemaphore
wUnits
E_LIMIT
E_EXIST
hSemaphore
is not a handle for an existing object.
E_TYPE
hSemaphore
is not a handle for a semaphore.
E_NTX_INTERNAL_ERROR
Versions | Reference |
---|---|
INtime 3.0 | INtimeDotNet |
INtimeDotNet system calls, Semaphore system calls