On Thu, Oct 04, 2001 at 04:39:15PM -0000, kurian kattukaren wrote: > > >>"kurian kattukaren" <[EMAIL PROTECTED]> writes: > > >> Will this do for schedule_timeout(). > >BSG replied: > >It's not the best way. > > >The "canonical" way to write timeout-like functions is >to keep track of a queue of >timout requests, and have a >thread whose job is to sleep until the top item in the >>queue is ready, and then call its function. > > Any info on how to accomplish the above , along with links to thread tutorials are >also welcome. > > thanking you, > kurian joseph > "knowledge shared spreads geometrically" >
The Linux timer emulation code you used already does this (pfinet/timer-emul.c). If this is not what Thomas meant, I don't know what else it could be. Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd
