summaryrefslogtreecommitdiff
path: root/sys/kern/kern_timeout.c
AgeCommit message (Collapse)Author
2000-03-23Provide methods to check if a timeout was initalized and if it is scheduled.Artur Grabowski
2000-03-23Preserve the FIFO order of issued timeouts.Artur Grabowski
2000-03-23New API for timeouts. Replaces the old timeout()/untimeout() API andArtur Grabowski
makes it the callers responsibility to allocate resources for the timeouts. This is a KISS implementation and does _not_ solve the problems of slow handling of a large number of pending timeouts (this will be solved in future work) (although hardclock is now guarateed to take constant time for handling of timeouts). Old timeout() and untimeout() are implemented as wrappers around the new API and kept for compatibility. They will be removed as soon as all subsystems are converted to use the new API.