From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 01:54:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BDDC16A536 for ; Fri, 25 Jun 2004 01:54:51 +0000 (GMT) Received: from web90003.mail.scd.yahoo.com (web90003.mail.scd.yahoo.com [66.218.94.61]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C96D43D4C for ; Fri, 25 Jun 2004 01:54:51 +0000 (GMT) (envelope-from neil_cornell@yahoo.com) Message-ID: <20040625015435.1508.qmail@web90003.mail.scd.yahoo.com> Received: from [67.52.72.226] by web90003.mail.scd.yahoo.com via HTTP; Thu, 24 Jun 2004 18:54:35 PDT Date: Thu, 24 Jun 2004 18:54:35 -0700 (PDT) From: Neil Cornell To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: alarm() accuracy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 01:54:52 -0000 I have an application that uses alarm() to generate SIGALARM every second. I am seeing that the signal handler is sometimes late by as much as 500ms when the system is under load. What kind of performance should I expect to see from alarm(). Is there a better way to do this? TIA, Neil --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!