hgp@houem.UUCP (#H.PAGE) (01/02/85)
<Burrp...> Hello there! 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. Cheers! Howard G. Page ..!ihnp4!houem!hgp
karl@cygnet.CYGNETSYSTEMS (Karl Danz) (01/06/85)
> 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