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.
NTXSTATUS ntxReleaseRtSemaphore(
NTXHANDLE hSemaphore,
WORD wUnits
);
hSemaphorewUnitsE_OKE_OK 0x0000E_LIMIT 0x0004E_EXIST 0x0006hSemaphore is not a handle for an existing object.E_TYPE 0x8002hSemaphore is not a handle for a semaphore.E_NTX_INTERNAL_ERROR| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/nt/include/ntx.h | ntx.h | ntx.lib |
| INtime 4.01 (for 64-bit Windows) | intime/nt/include/ntx.h | ntx.h | ntx64.lib |