hbUCPWaitTaskDone
Wait for task complete or timeout.
-
Parameter
- [in]
taskHandleTask handle pointer. - [in]
timeoutTimeout configuration (in milliseconds).
- [in]
-
Return Value
- Return
0means the API was successfully executed, otherwise the execution failed.
- Return
Note
timeout > 0represents the wait time.timeout <= 0represents keep waiting until the task is completed.
