FairCom Corporation


F.63 ctThrdMutexCls


Closes a mutex.

Short Name

ctThrdMutexCls

TYPE

Threading function

DECLARATION

NINT ctThrdMutexCls(pctMUTEX mutex)

DESCRIPTION

Closes the mutex referenced by mutex, making it in active.

RETURN

ctThrdMutexCls returns NO_ERROR. See Appendix A for a complete listing of valid c- tree Plus error values.

EXAMPLE

See ctmtex.c and ctmtap.c for ctThrdMutexCls examples.

LIMITATIONS

Can only close a mutex currently held by this thread with no other threads in contention. Can only be used with a ctThrd library.

SEE ALSO

ctThrdMutexGet and ctThrdMutexTry.


FairCom Corporation
www.faircom.com