tfree Kernel Service

Purpose

Deallocates a timer request block.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/timer.h>

void tfree ( t)
struct trb *t;

Parameter

Item Description
t Points to the timer request structure to be freed.

Description

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.

Execution Environment

The tfree kernel service can be called from either the process or interrupt environment.

Note: Do not use the tfree kernel service to free the timer request block that is passed to the timer completion handler.

Return Values

The tfree service has no return values.