Confirms that the current process has the specified permission on a queue when queue information needs to be shared between processes. This API is synchronous.
The Ascend 310 AI Processor does not support this API in the current version.
The Ascend 910 AI Processor does not support this API in the current version.
The Ascend 310P AI Processor does not support this API in the current version.
aclError acltdtAttachQueue(uint32_t qid, int32_t timeout, uint32_t *permission)
Parameter |
Input/Output |
Description |
|---|---|---|
qid |
Input |
Queue ID. |
timeout |
Input |
Wait timeout interval. The values are as follows:
|
permission |
Output |
Permission flag.
|
0 on success; else, failure.