>Subject: Query - Emulating Multithreaded Environment in Palm >From: "Vivek Desai" <[EMAIL PROTECTED]> >Date: Tue, 26 Mar 2002 11:28:12 +0530 > >I am supposed to port my Windows CE application to PalmOS. >My WinCE application uses Windows Sockets wherein a thread >is dedicated to recv() incoming messages. Palm is a single threaded >platform. So is there any workaround to emulate a Multithreaded >environment in Palm, or atleast a dual threaded environment.
You can have code trapping the event and call the secondary program to process it. Palm OS programs can function in that way, without UI and without access to globals. A very, very different programming style. Remember, under Palm OS, you don't load programs, they are all there in memory at all times, and are frequently dealing with events from the OS, at least one per second, and you can use this to your advantage! Roger Stringer Marietta Systems, Inc. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
