Date: Fri, 6 Sep 1996 19:54:53 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Subject: Re: fixing accesses to volatile variable `time' Message-ID: <199609061754.TAA05126@uriah.heep.sax.de> In-Reply-To: <199609052233.IAA07391@godzilla.zeta.org.au> from Bruce Evans at "Sep 6, 96 08:33:19 am"
next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote: > I changed only all the accesses to the full `time' to used a new > get_time() inline functions. ext2fs already calls such a function > in the !__FreeBSD__ case. pcvt references the `time' variable for the only purpose to avoid rescheduling the screen saver more than once per second. I would consider access of this kind being too less important to muck with the ipl. (Nothing bad happens when the clock interrupt occurs inmidst this test.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609061754.TAA05126>