Date: Thu, 2 Jul 1998 13:31:28 -0700 (PDT) From: sos@FreeBSD.ORG To: julian@whistle.com (Julian Elischer) Cc: rminnich@Sarnoff.COM, hackers@FreeBSD.ORG Subject: Re: timeout granularity (was: Re: Console driver...) Message-ID: <199807022031.NAA03491@hub.freebsd.org> In-Reply-To: <Pine.BSF.3.95.980702123250.5089D-100000@current1.whistle.com> from Julian Elischer at "Jul 2, 98 12:34:58 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Julian Elischer who wrote: > why do all that fiddling when there is already support for this in > FreeBSD? > > use "aquire_timer0()" > and set the hardware clock to whatever you want dynamically.. > it will call whatever function you want at that speed.. > remember that the pcaudio driver sets it to 16000 Hz. > that would seem a good speed to set it, so that pcaudio could still work.. > Since I'm the one to blame for the aquire_timer stuff, also a fair bit of warning, it ONLY works for one process at a time, and it doesn't increase the resolution of tsleep et all. A higher resolution of the timeout stuff would be neat, but it wouldn't solve the video probelm... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807022031.NAA03491>