Re: Sleep() issue
- From: "Henry Markov" <hm@xxxxxxxxxxx>
- Date: Wed, 25 Apr 2007 13:02:06 -0400
It seems the thread went off in lots of directions about your design choices
but let me answer the basic question you posed. The Sleep interval is
determined by the motherboard and the HAL. If you are using the same
motherboard for XP and XPe and you get different Sleep intervals then I
think the reason is that you are not using the same HAL.
HM
"Senen" <senen@xxxxxxxxxx> wrote in message
news:4628a093$0$5095$ba4acef3@xxxxxxxxxxxxxxxxx
Hi,
In my program I need to wait for a device for about 2ms. The accuracy of
the wait is not critical.
It works under Windos XP with a simple Sleep(2).
Under XPE the same program will wait for 15ms instead of 2ms.
Any value for Sleep() lower than 15ms will produce the same wait of 15ms.
The use of SetWaitableTimer produces the same effect.
How can I get a delai of few milliseconds in XPE?
Thanks
Senen
.
- References:
- Sleep() issue
- From: Senen
- Sleep() issue
- Prev by Date: Re: Using VSS with Target Designer
- Next by Date: Re: Using VSS with Target Designer
- Previous by thread: Re: Sleep() issue
- Next by thread: Runonce after fbreseal... partitioning and formatting a 2nd disk...
- Index(es):