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 FairCom DB Error Codes for a complete listing of valid FairCom DB error values.
Limitations
Can only be used with a ctThrd library.
See also
ctThrdSemapGet, ctThrdSemapInit, ctThrdSemapRel, ctThrdSemapTry