Re: How to let a thread be idle without using system call ?
- From: "Yu" <Yu.Mails@xxxxxxxxxxxxx>
- Date: Thu, 15 Jun 2006 08:27:50 +0800
"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.
.
- Follow-Ups:
- Re: How to let a thread be idle without using system call ?
- From: Dean Ramsier
- Re: How to let a thread be idle without using system call ?
- References:
- How to let a thread be idle without using system call ?
- From: Yu
- Re: How to let a thread be idle without using system call ?
- From: Steve Maillet \(eMVP\)
- How to let a thread be idle without using system call ?
- Prev by Date: Re: Launch address of image
- Next by Date: invalid handle returned from SD API
- Previous by thread: Re: How to let a thread be idle without using system call ?
- Next by thread: Re: How to let a thread be idle without using system call ?
- Index(es):
Relevant Pages
|