acltdtDequeue
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
☓ |
|
☓ |
|
☓ |
|
☓ |
|
☓ |
Description
Obtains data from a queue.
Prototype
1 | aclError acltdtDequeue(uint32_t qid, acltdtBuf *buf, int32_t timeout) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
qid |
Input |
Queue from which data is obtained. You must call acltdtCreateQueue to create a queue in advance. |
buf |
Output |
Pointer to the shared buffer. For details about the type definition, see acltdtBuf. |
timeout |
Input |
Wait timeout interval. If data is obtained from an empty queue, the system determines how to process the data based on the configured wait timeout interval. The options are as follows:
|
Returns
0 on success; otherwise, failure. For details, see aclError.