Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctThrdLIFOWrite

Write a message at the beginning of a queue.

Short Name

ctThrdLIFOWrite()

Type

Threading function

Declaration

NINT ctThrdLIFOWrite(NINT qid, pVOID message, NINT msglen)

Description

Write a message at the beginning of the queue specified by qid. It is permissible for the message to be NULL and/or the msglen to be zero.

Return

Value

Symbolic Constant

Explanation

0

NO_ERROR

Successful function.

90

NQUE_ERR

Invalid qid.

92

QMRT_ERR

Queue memory error.

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

ctThrdQueueClose, ctThrdQueueCount, ctThrdQueueOpen, ctThrdQueueMlen, ctThrdQueueRead, ctThrdQueueWrite

TOCIndex