![]() |
![]() |
![]() |
Destroy a process timer
#include <sys/neutrino.h> int TimerDestroy( timer_t id ); int TimerDestroy_r( timer_t id );
libc
The TimerDestroy() and TimerDestroy_r() functions are identical except in the way they indicate errors. See the Returns section for details.
These kernel calls remove a previously created timer specified by id. The timer is removed from the active system timer list and returned to the list of available timers.
If a timeout was pending when the timer is removed by TimerDestroy(), it is removed without being activated.
These calls don't block.
The only difference between these functions is the way they indicate errors:
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |