Function: query_event_wait_status
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Queries whether the tasks awaiting in an event are completed after acl.stream_wait_event call.
Prototype
- C Prototype
1aclError aclrtQueryEventWaitStatus(aclrtEvent event, aclrtEventWaitStatus *status)
- Python Function
1status, ret=acl.rt.query_event_wait_status(event)
Parameter Description
Parameter |
Description |
|---|---|
event |
Int, pointer address of the event object to be queried. |
Return Value Description
Return Value |
Description |
|---|---|
status |
Int, pointer address of the event status. For details, see aclrtEventWaitStatus.
|
ret |
Int, error code: 0 on success; else, failure. |
Restrictions
Events created by calling acl.rt.create_event_ex_with_flag cannot use this API.
Parent topic: Event Management