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.
The untimeout kernel service can be called from either the process or interrupt environment.
The untimeout kernel service has no return values.
The untimeout kernel service is part of Base Operating System (BOS) Runtime.
The timeout kernel service.
Timer and Time-of-Day Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.