Deallocates a timer request block.
#include <sys/types.h> #include <sys/errno.h> #include <sys/timer.h>
void tfree (t) struct trb *t;
t | Points to the timer request structure to be freed. |
The tfree kernel service deallocates a timer request block that was previously allocated with a call to the talloc kernel service. The caller of the tfree service must first cancel any pending timer request associated with the timer request block being freed before attempting to free the request block. Canceling the timer request block can be done using the tstop kernel service.
The tfree kernel service can be called from either the process or interrupt environment.
The tfree service has no return values.
The tfree kernel service is part of Base Operating System (BOS) Runtime.
The talloc kernel service, tstart kernel service, tstop kernel service.
Timer and Time-of-Day Kernel Services and Using Fine Granularity Timer Services and Structures in AIX Kernel Extensions and Device Support Programming Concepts.