So I have this program that has to do TCP/IP and also run one or more 
periodic functions that typically are run every half second.

The documentation says that the processor goes into doze mode if you tell 
EvtGetEvent() to wait forever (wait of -1). I assume this means that if I 
give EvtGetEvent() anything but -1, the processor does not go into doze mode.

This tells me that my application will suck the life out of a Palm for the 
entire time that my app is running, because I can't sit in EvtGetEvent() 
forever -- I have to wake up to run my periodic functions, and I have to 
check for I/O (see my earlier question about why NetLibSelect() isn't 
working as advertised).

1) Is there any way to explicitly put the processor into doze mode for a 
set amount of time that is less than one second? In other words, I know 
about AlmSetProcAlarm().

2) If I ever get it working, will NetLibSelect() also put the processor in 
doze mode if I give it a wait time of -1?

3) Any brilliant ideas on how I could save power in this situation without 
getting rid of my periodic functions that might need to run mroe than once 
a second?

Yours for good Palm citizenship,

Curtis Jackson
Director of Engineering
Aniwhere, Inc.
[EMAIL PROTECTED]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to