X-Spam-Check-By: sourceware.org Message-ID: <45E38393.20908@gmail.com> Date: Tue, 27 Feb 2007 09:04:19 +0800 From: Carlo Florendo User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: does usleep() sleep more than it's supposed to? References: <45E292D6 DOT 30906 AT gmail DOT com> <20070226105708 DOT GC5577 AT calimero DOT vinschen DOT de> In-Reply-To: <20070226105708.GC5577@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Corinna Vinschen wrote: > 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. Cygwin is indeed an emulation layer but it is the only thing that has done what I have intended to do on windows. The cygwin wrappers around the win32 API naturally added some overhead but that is better, IMO, than wading one's way to a bloated native API. The system I'm doing interfaces with a hardware device and it had already performed properly, albeit with the workaround of adjusting the sleep time. Cygwin is great and though it may have limitations, it is to me still remarkable. Thank you very much. Best Regards, Carlo -- Carlo Florendo Softare Engineer/Network Co-Administrator Astra Philippines Inc. UP-Ayala Technopark, Diliman 1101, Quezon City Philippines http://www.astra.ph Member of the Astra Group of Companies 5-3-11 Sekido, Tama City Tokyo 206-0011, Japan http://www.astra.co.jp -- 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/