[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	art_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2000/03/23 02:59:57

Modified files:
	sys/arch/alpha/alpha: machdep.c 
	sys/arch/amiga/amiga: machdep.c 
	sys/arch/arc/arc: machdep.c 
	sys/arch/arm32/arm32: machdep.c 
	sys/arch/atari/atari: machdep.c 
	sys/arch/hp300/hp300: machdep.c 
	sys/arch/hppa/hppa: machdep.c 
	sys/arch/i386/i386: machdep.c 
	sys/arch/kbus/kbus: machdep.c 
	sys/arch/mac68k/mac68k: machdep.c 
	sys/arch/mvme68k/mvme68k: machdep.c 
	sys/arch/mvme88k/mvme88k: machdep.c 
	sys/arch/pc532/pc532: machdep.c 
	sys/arch/pmax/pmax: machdep.c 
	sys/arch/powerpc/powerpc: machdep.c 
	sys/arch/sparc/sparc: machdep.c 
	sys/arch/sun3/sun3: machdep.c 
	sys/arch/vax/vax: machdep.c 
	sys/arch/wgrisc/wgrisc: machdep.c 
	sys/conf       : files param.c 
	sys/kern       : kern_clock.c 
Added files:
	sys/kern       : kern_timeout.c 
	sys/sys        : timeout.h 
Removed files:
	sys/sys        : callout.h 

Log message:
New API for timeouts. Replaces the old timeout()/untimeout() API and
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.




Visit your host, monkey.org