FairCom Corporation


F.68 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 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

ctThrdQueueOpen, ctThrdQueueCount, ctThrdLIFOWrite, ctThrdQueueMlen, ctThrdQueueRead, and ctThrdQueueWrite.


FairCom Corporation
www.faircom.com