Article View: borland.public.cppbuilder.nativeapi
Article #11308Re: Finegrain Sleep
From: Benjamin Pratt
Date: Wed, 18 Feb 2004 18:50
Date: Wed, 18 Feb 2004 18:50
23 lines
1629 bytes
1629 bytes
The march 2004 MSDN magazine has an article on implementing high-resolution timers in Windows. You may want to look at it. "Graham Reeds" <grahamr@omnieng.co.uk> wrote in message news:4033629c$1@newsgroups.borland.com... > I need a sleep function with a finer grain than a millisecond. > > The reason is I am porting a Unix application that has the usleep function > which takes an argument in microseconds. > > My personal feeling is that there isn't one but a colleague thinks there is, > but can't remember the name of it (and thinks it is something obscure which > you would associate with sleep). > > -- > > Graham Reeds, > grahamr@omnieng.co.uk | http://omnieng.co.uk > >
Technical Details
Message-ID:
<4033b339$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4033629c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,fed9196afef30d83 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-18 11:03:45 PST From: "Benjamin Pratt" <benjamin.pratt.getridofthis@verizon.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <4033629c$1@newsgroups.borland.com> Subject: Re: Finegrain Sleep Date: Wed, 18 Feb 2004 10:50:17 -0800 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 24.130.93.201 Message-ID: <4033b339$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1077130041 24.130.93.201 (18 Feb 2004 10:47:21 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail