🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15817

Re: how to sleep 10 milisecond

#15817
From: Eugene Mayevski
Date: Fri, 13 Jun 2003 17:01
14 lines
1643 bytes
Ted Lyngmo wrote:

> Are you refering to the *WaitableTimer? Yes, it can be set to go off at 
> 100 nanosecond intervals. I have no idea how accurate it really is. I 
> have never used it.

There's also MMTimer, which is pretty precise, but callback function is 
called in another thread and switching back to main thread can kill the 
benefit (but if the task is done in that callback, one might have success).

-- 
Eugene Mayevski
Flexible cross-platform information exchange framework
http://www.msgconnect.com/
Technical Details
Message-ID: <3eea03f0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ee8c0df@newsgroups.borland.com> <ejuhevkfhbar1ca95u5jrkg3a4mtbie16j@4ax.com> <3EE953A4.4010409@lyncon.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b6af681927951d13
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-13 10:08:09 PST
Date: Fri, 13 Jun 2003 20:01:46 +0300
From: Eugene Mayevski <mayevski@eldos.org>
Reply-To:  mayevski@eldos.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, uk, en, ru
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: how to sleep 10 milisecond
References: <3ee8c0df@newsgroups.borland.com> <ejuhevkfhbar1ca95u5jrkg3a4mtbie16j@4ax.com> <3EE953A4.4010409@lyncon.se>
In-Reply-To: <3EE953A4.4010409@lyncon.se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 212.9.249.17
Message-ID: <3eea03f0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1055523824 212.9.249.17 (13 Jun 2003 10:03:44 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail