Function: query_event
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Queries whether the events recorded by acl.rt.record_event in the same thread as this API are executed.
This API will be deprecated in future releases. Use Function: query_event_status instead.
Prototype
- C Prototype
1aclError aclrtQueryEvent(aclrtEvent event, aclrtEventStatus *status)
- Python Function
1status, ret = acl.rt.query_event(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.
|
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: Event Management