|
AWS IoT Device SDK C:
Platform
Platform portability layer
|
| Return to main page ↑ |
Create a new timer.
This function creates a new, unarmed timer. It must be called on an uninitialized IotTimer_t. This function must not be called on an already-initialized IotTimer_t.
| [out] | pNewTimer | Set to a new timer handle on success. |
| [in] | expirationRoutine | The function to run when this timer expires. This function should be called in its own detached thread. |
| [in] | pArgument | The argument to pass to expirationRoutine. |
true if the timer is successfully created; false otherwise.