ctThrdQueueClose
Close a message queue.
Short Name
ctThrdQueueClose()
Type
Threading function
Declaration
NINT ctThrdQueueClose(NINT qid)
Description
Close the queue specified by the queue handle qid.
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
ctThrdQueueOpen, ctThrdQueueCount, ctThrdLIFOWrite, ctThrdQueueMlen, ctThrdQueueRead, ctThrdQueueWrite