INtime SDK Help
ntxDeleteRtSemaphore
INtime SDK v6 > About INtime > INtime Kernel > Semaphores > ntxDeleteRtSemaphore

Deletes an RT semaphore.

NTXSTATUS ntxDeleteRtSemaphore(
    NTXHANDLE hSemaphore
);

Parameters

hSemaphore
Handle for the semaphore you want to delete.

Return Values

E_OK
Success.
The error code.
Failure.

Status

E_OK
No exceptional conditions occurred.
E_EXIST
hSemaphore contains an invalid handle.
E_TYPE
hSemaphore does not contain a semaphore handle.

Requirements

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

See Also

Semaphore system calls