Re: How to let a thread be idle without using system call ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Steve Maillet (eMVP)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:%23ieRiJ7jGHA.4508@xxxxxxxxxxxxxxxxxxxxxxx
You can use StallExecution. Sleep is also allowed in power functions in
V5.0.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com


Dear Steve, Piet

Thanks for your reply.
In MS document, Sleep can be used in power funcitoin in WinCE 5.0.
Howerver, many people said that we should use IOCTL_POWER_SET if we want to
use Sleep in power function.
Besides, I found "Error:Power Handler function yield to low priority thread"
if I use Sleep in power funcitoin.
Is it really a "ERROR" message ? Or it just to indicate "priority inversion"
? Can I ignore this message ?
I am really confused whether I can use Sleep in power funcitoin in WinCE
5.0.


Thanks.

Yu.


.



Relevant Pages

  • Re: Problems with PXA270 suspend mode
    ... WinCE, but I don't know, that the processor starts on address 0 after sleep. ... +RDR:NetDownIndication, lana: 2 ...
    (microsoft.public.windowsce.embedded)
  • Re: Better polling solution in wince driver
    ... I am new to wince and was just worried whether the Sleep ... It's the polling, not Sleep that can impact system performances. ... (l'indirizzo di reply di questo messaggio non è ...
    (microsoft.public.windowsce.platbuilder)
  • Re: sicher mit Skype telefonieren
    ... Man kann die benutzte Rechenleistung ja selber bestimmten. ... Nicht auf WinCE. ... Aber da gips Sleep() und SleepEx. ...
    (de.comp.security.misc)
  • Re: Display driver in WinCE 5.0
    ... the codes works in WinCE 4.2. ... If we can not use sleepin SetVideoPowerState in WinCE 5.0, ... can I use like sleep? ...
    (microsoft.public.windowsce.platbuilder)