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

untimeout Kernel Service

Attention: This service should not be used in AIX Version 4, because it is not multi-processor safe. The base kernel timer and watchdog services should be used instead. See talloc and w_init for more information.


Cancels a pending timer request.


#include <sys/types.h>
#include <sys/errno.h>
void untimeout (func, arg)
void (*func)();
caddr_t *arg;


func Specifies the function associated with the timer to be canceled.
arg Specifies the function argument associated with the timer to be canceled.


The untimeout kernel service is not part of the kernel. However, it is a compatibility service provided in the libsys.a library. To use the untimeout service, a kernel extension must have been bound with the libsys.a library. The untimeout service, like the associated kernel libsys services timeoutcf and timeout, can be bound and used only in the pinned part of a kernel extension or the bottom half of a device driver because these services use interrupt disable for serialization.

The untimeout kernel service cancels a specific request made with the timeout service. The func and arg parameters must match those used in the timeout kernel service request that is to be canceled.

Upon return, the specified timer request is canceled, if found. If no timer request matching func and arg is found, no operation is performed.

Execution Environment

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

Return Values

The untimeout kernel service has no return values.

Implementation Specifics

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

Related Information

The timeout kernel service.

Timer and Time-of-Day Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.

[ Previous | Next | Contents | Home | Search ]