acltdtEnqueue
The
The
Description
Adds data to a queue. The buffer for storing data must be allocated by calling acltdtAllocBuf.
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
qid |
Input |
Queue to which data is to be added. You must call acltdtCreateQueue to create a queue in advance. |
buf |
Input |
Pointer to the shared buffer. You must call acltdtAllocBuf in advance to allocate the buffer. |
timeout |
Input |
Wait timeout interval. If data is added to a full queue, the system determines how to process the data based on the configured wait timeout interval. The options are as follows:
|
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: Shared Queue Management