FairCom Corporation


F.76 ctThrdSemapCls


Close a semaphore.

Short Name

ctThrdSemapCls

TYPE

Threading function

DECLARATION

NINT ctThrdSemapCls(pctSEMAP semap)

DESCRIPTION

Close semaphore semap, making it inactive.

RETURN

Value
Symbolic Constant
Explanation
0
NO_ERROR
Successful function.
90
NQUE_ERR
Invalid qid.
514
CQUE_ERR
Queue could not be closed.

See Appendix A "c-tree Plus Error Codes" of the c-tree Plus Programmer's Reference Guide for a complete listing of valid c-tree Plus error values.

LIMITATIONS

Can only be used with a ctThrd library.

SEE ALSO

ctThrdSemapGet, ctThrdSemapInit, ctThrdSemapRel, and ctThrdSemapTry.


FairCom Corporation
www.faircom.com