Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/3/84; site cygnet.CYGNETSYSTEMS Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!hplabs!cygnet!karl From: karl@cygnet.CYGNETSYSTEMS (Karl Danz) Newsgroups: net.unix-wizards Subject: Re: Looking for fast timer Message-ID: <525@cygnet.CYGNETSYSTEMS> Date: Sat, 5-Jan-85 20:14:21 EST Article-I.D.: cygnet.525 Posted: Sat Jan 5 20:14:21 1985 Date-Received: Tue, 8-Jan-85 04:12:51 EST References: <302@houem.UUCP> Organization: Cygnet Systems -- Sunnyvale, CA Lines: 13 > We are looking for some type of timer function, such as alarm(2), > which will give us a granularity of 1/60th of a second. If I can recall > correctly, I once read something about /dev/ft. Does anybody know > about this?? Thanks. If you are running 4.2BSD, you can use setitimer(2). The resolution provided is that of the system clock. See the code for sleep() in the C library for a usage example, or I can mail you a copy of our xsleep() routine whose argument is a double (hint). Karl Danz Cygnet Systems ...!hplabs!cygnet!karl