This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Delete a timer
#include <time.h> int timer_delete( timer_t timerid );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The timer_delete() function removes a previously attached timer based upon the timerid returned from the timer_create() function. The timer is removed from the active system timer list, and returned to the free list of available timers.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
clock_getres(), clock_gettime(), clock_settime(), nanosleep(), sleep(), timer_create(), timer_getexpstatus(), timer_getoverrun(), timer_gettime(), timer_settime()