aclrtIpcOpenEventHandle
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
☓ |
|
|
√ |
|
|
√ |
|
|
☓ |
|
|
☓ |
|
|
☓ |
Description
Obtains the handle information in the current process and returns the event pointer that can be used by this process.
This API must be used with other APIs to synchronize tasks across processes. For details, see aclrtIpcGetEventHandle.
Prototype
1
|
aclError aclrtIpcOpenEventHandle(aclrtIpcEventHandle handle, aclrtEvent *event) |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
handle |
Input |
Event handle. For details about the type definition, see aclrtIpcEventHandle. First call aclrtIpcGetEventHandle to obtain the handle of this event and then pass the handle as an input. |
|
event |
Output |
Event pointer. For details about the type definition, see aclrtEvent. |
Returns
0 on success; otherwise, failure. For details, see aclError.