[784] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

Zephyr 2.1.beta1 server never processes timers

daemon@ATHENA.MIT.EDU (Sam Hartman)
Thu Jun 6 00:11:04 1996

From: Sam Hartman <shartman@parc.xerox.com>
To: bug-zephyr@MIT.EDU
Date: Wed, 5 Jun 1996 19:36:08 PDT



	The current sources and 2.1.beta1 do not ever call
timer_process in zephyrd.  This means that if a timer is ever created
, then timer_timeout will return negative values once the timer has expired, because it will never be removed from the heap.

	You never see this without patching my last bug report because
when timers exist, timer_timeout always returns 0.  Apparently, a call
to timer_process was removed around revision 1.66 of main.c; it still
exists in the production code on Athena's Zephyr servers. 

	It isn't clear to me why timer_timeout doesn't call
timer_process, but a call should be inserted there or in the main
loop.

--Sam


home help back first fref pref prev next nref lref last post