delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/26/05:57:30

X-Spam-Check-By: sourceware.org
Date: Mon, 26 Feb 2007 11:57:08 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: does usleep() sleep more than it's supposed to?
Message-ID: <20070226105708.GC5577@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <45E292D6 DOT 30906 AT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <45E292D6.30906@gmail.com>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Feb 26 15:57, Carlo Florendo wrote:
> I'm writing an application that requires time precisions up to the
> microsecond level.

Though I love the idea to use Cygwin for everything, including stuff
like simulating the universe bit-accurate in realtime, it might be a
teeny bit daring to expect microsecond precision in an emulation layer.
You should contemplate the idea to use native Windows functions if
you need such precision.

Jason is right, btw., see
http://www.opengroup.org/onlinepubs/009695399/functions/usleep.html


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019