🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Sleep time resolution

#11460
From: Martin Moeller
Date: Thu, 12 Feb 2004 11:41
14 lines
1325 bytes
"Detlef" <detlef.stute@seatec-gmbh.com> wrote:

>
> I'm using Win2K and like to communicate with a digital IO card with a
> frequence of 200 Hz. I'm using a thread to send data to the card.
>


Consider using the GetTickCount() function. It's as per my knowledge the
most precise timing available, provided your thread gets focus by Win
scheduler.

Rgds, Martin
Technical Details
Message-ID: <402b667e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <402b4f78$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,3e6954a6a5dc7821
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-12 04:09:35 PST
Reply-To: "Martin Moeller" <martin.moeller@moema.it>
From: "Martin Moeller" <martin.moeller@moema.it>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <402b4f78$1@newsgroups.borland.com>
Subject: Re: Sleep time resolution
Date: Thu, 12 Feb 2004 12:41:42 +0100
Lines: 16
Organization: Moe.Ma Italiana Srl
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.45.0.110
Message-ID: <402b667e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076586110 213.45.0.110 (12 Feb 2004 03:41:50 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail