Function: synchronize_event
Applicable Products
|
Product |
Supported (√/x) |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Description
Blocks the current thread until all tasks captured in an event are completed. For more details, see acl.rt.record_event.
Prototype
- C Prototype
1aclError aclrtSynchronizeEvent(aclrtEvent event)
- Python Function
1ret = acl.rt.synchronize_event(event)
Parameters
|
Parameter |
Description |
|---|---|
|
event |
Int, event object pointer address to be waited for. |
Return Values
|
Return Value |
Description |
|---|---|
|
ret |
Int, error code. 0 on success; else, failure. |
Parent topic: Event Management