X-Spam-Check-By: sourceware.org Date: Mon, 26 Feb 2007 11:57:08 +0100 From: Corinna Vinschen 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/