Hi Henry, this definitely is interesting to see for almost all of us imho. I can provide you with web space et al if you contact me off-list! Best regards Tam Hanna
Created on the go using Versamail 2.6.1 on a Tungsten T3. Please accept my apologies for formatting! ---------------------------------------------------------------------- Henryxu wrote Subject: RE: How to accomplish a background application on palm platform From: [EMAIL PROTECTED] Date: Mon, 22 Aug 2005 00:29:38 -0000 X-Message-Number: 6 I've been using a homegrown thread manager in both foreground and background for several years now. I could be convinced to make it available, if there's sufficient interest. Features: 1. Works on PalmOS 3.5 and later (including OS5 - haven't tried OS6). 1. Any number of threads, in any number of contexts (app environments). 2. Non-preemptive, with some exceptions. 3. App globals and multi-segment support. 4. Asynchronous socket and serial IO. 5. Timers, events (semaphore, mutex) and queues. 6. Power and sleep management. Caveats: 1. It's PalmOS, so all copies would be shipped with a packet of salt, to be taken a grain at a time. 2. The thread stacks annoy the emulator. 3. Non-preemptive, so you are at the mercy of the current CPU resident. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
