From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9543 invoked by alias); 7 Apr 2003 15:41:52 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 9536 invoked from network); 7 Apr 2003 15:41:52 -0000 Received: from unknown (HELO smtp-relay-3.sea.adobe.com) (192.150.22.10) by sources.redhat.com with SMTP; 7 Apr 2003 15:41:52 -0000 Received: from inner-relay-3.corp.adobe.com (inner-relay-3 [153.32.251.51]) by smtp-relay-3.sea.adobe.com (8.12.8/8.12.8) with ESMTP id h37FfdUE023679 for ; Mon, 7 Apr 2003 08:41:39 -0700 (PDT) Received: from iplan-mn.corp.adobe.com (iplan-mn.corp.adobe.com [130.248.25.5]) by inner-relay-3.corp.adobe.com (8.12.3/8.12.3) with ESMTP id h37FfciQ020954 for ; Mon, 7 Apr 2003 08:41:38 -0700 (PDT) Received: from [130.248.25.184] ([153.32.12.150]) by iplan-mn.corp.adobe.com (Netscape Messaging Server 4.15 mn Jul 11 2001 16:32:57) with ESMTP id HCZCXD00.ISO; Mon, 7 Apr 2003 10:41:37 -0500 User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Mon, 07 Apr 2003 15:41:00 -0000 Subject: Re: From: John Love-Jensen To: , Ulrich Prakash Message-ID: In-Reply-To: <200304071521.h37FLUg6026247@smtp-relay-2.adobe.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-SW-Source: 2003-04/txt/msg00088.txt.bz2 Hi Prakash, If you "man usleep" you'll notice that it specifies that "actual suspension may be longer than the amount of time specified". > Please let me know if there is a way of achieving a sleep for a SPECIFIC precision value in milliseconds range... Depends on the facilities of your operating system and platform, not on the capabilities of GCC. You could try a busy loop, or a vertical blanking interrupt, or a specific OS call giving more exacting sleep control. Sincerely, --Eljay