Cancels a pending timer request.
Item | Description |
---|---|
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.