|
libcmutils 0.6.5
Multi-platform C99 utility library
|
Timer task handle. More...
Data Fields | |
| void(* | Cancel )(CMUTIL_TimerTask *task) |
| Cancel the scheduled timer task and destroy. | |
Timer task handle.
| void(* CMUTIL_TimerTask::Cancel) (CMUTIL_TimerTask *task) |
Cancel the scheduled timer task and destroy.
This function cancels the execution of the timer task if it has not yet been executed. Once canceled, the task will not be executed in the future. This function also frees the resources associated with the timer task. Do not call this function after Timer destroyed, may cause undefined behavior.
| task | The timer task to be canceled and destroyed. |