[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

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

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.

Return Values

The tfree service has no return values.

Implementation Specifics

The tfree kernel service is part of Base Operating System (BOS) Runtime.

Related Information

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.


[ Previous | Next | Contents | Home | Search ]