From owner-freebsd-hackers Fri Nov 8 07:41:51 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA15085 for hackers-outgoing; Fri, 8 Nov 1996 07:41:51 -0800 (PST) Received: from rocket.comtrol.com (rocket.comtrol.com [204.73.219.5]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA15080 for ; Fri, 8 Nov 1996 07:41:47 -0800 (PST) Received: from amirpc (amir [204.73.219.82]) by rocket.comtrol.com (8.6.9/8.6.9) with SMTP id JAA00123 for ; Fri, 8 Nov 1996 09:41:05 -0600 Date: Fri, 8 Nov 1996 09:41:05 -0600 Message-Id: <199611081541.JAA00123@rocket.comtrol.com> X-Sender: amir@comtrol.com X-Mailer: Windows Eudora Version 2.0.3 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: hackers@freebsd.org From: amir@comtrol.com (Amir Farah) Subject: timeout() function Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello I have a question about the timeout() function in /sys/kern/kern_clock.c file. You can execute a function after a specified length of time using timeout(ftn, arg, ticks) ftn: function to be called args: arguments for the function ticks: delay If I pass "1" for the delay, does it mean the function will get called every 1 second?? I want to be able to call a funtion every 50 milisecond (or less). Can anyone set me straight on this issue. Thanks amir