aclrtProcessReport

Description

Triggers callback handling after a period of time. The thread subscribed by the aclrtSubscribeReport call handles the callback. This API is synchronous.

Create a thread to call aclrtProcessReport in the new thread function.

Prototype

aclError aclrtProcessReport(int32_t timeout)

Parameters

Parameter

Input/Output

Description

timeout

Input

Timeout period (ms).

Value range:

  • –1: infinite wait.
  • Values greater than 0 (excluding 0): the wait period.

Returns

0 on success; else, failure.

See Also