Re: When we go to sleep...



All drivers run their own power-down code, RAM is put in self-refresh and
the processor clock is stopped. That means it stops executing whereever the
code execution pointer is. If you're writing to a file, nothing changes
(though if you're writing to a file in a mounted store, that's a different
story, as the store gets unmounted before suspend. THread priorities have
no effect at all. Not sure what your last question means.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com



"Moshe Peleg" <mpeleg@xxxxxxxxxxxxxxx> wrote in message
news:uPInz0vvHHA.4736@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

What happensto my application when the iPaq is shutdown ?
Is the application stopped at the middle of a function ?
What if I exactly write to a file ?
What if I have several high priority threads ?
Is something moving at the background or all freezed until wakeup ?


Thanks,


MP




.