Hi Ben,

I guess I have to poll the socket and then the event queue with a similar
poll time is the only choice left;-(

any recommendation of polling time? I'm thinking 200ms should be O.K.

thanks,

Ghazi

-----Original Message-----

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]]On Behalf Of B.

Flaumenhaft

Sent: Wednesday, April 26, 2000 8:33 PM

To: Palm Developer Forum

Subject: RE: Background Task





I'll give you a middle-length answer: you can't do it.

Depending on what you're trying to do, it may be worth trapping nil events

and writing your own background threading. I've had to do this on a couple

TCP/IP programs that need to poll sockets while still accepting user data.

Not much fun, but you do what you have to do, I guess.

Regards,

Ben Flaumenhaft

>> From: Ghazi Ramadan [mailto:[EMAIL PROTECTED]]

>> Does any one know how to create a background task on the

>> PalmOS. I tried SysTaskCreate() but I couldn't figure it out since no

>> documentation is available for system API's

>

>(Oh, I'll handle it this time...)

>

>Short answer: you can't do that.

>

>Long answer: http://oasis.palm.com/dev/kb/article.cfm?id=1053

>

>-slj-

>

>

>--

>For information on using the Palm Developer Forums, or to unsubscribe,

>please see http://www.palm.com/devzone/mailinglists.html



--

For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to