Once, long ago, I worked on a project for Motorola where we put a pager card on the 
Palm (it was the PageNet/Motorola Pager Card).

To put that card in, Motorola had to 1.) license the Kadak Kernal, and 2.) have Palm 
build a special version of the OS with extra resources for threads, semaphores, 
mailboxes, etc.  I don't know what the costs of licensing the kernal were, but I'm 
pretty sure it was beyond the limits of most of us...  It was fun writing threading 
for Palm OS, but I always felt we added a bit of instability to the OS as a result - I 
think our custom build was actually short of a semaphore resource.

Though it may be possible to poke around the system functions and figure out how to 
force multi-tasking, anyone actually doing multiple threads without doing 1.) above is 
breaking the law, and without doing 2.) above is creating an unstable system as you 
are stealing resources from the OS; eventually the OS will use those resources and 
chaos will ensue.

On a completely different project, we faked multithreading by creating a "scheduler" 
with priorities and such that allowed different "tasks" to share the UI thread.  This 
worked fine as long as no single task became a hog.  But, of course, there was a hog 
task...

Kevin

-----Original Message-----
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 5:29 AM
To: Palm Developer Forum
Subject: Re: Threading libraries for PalmOS?


On Wed, 26 Jun 2002, Chris Tutty wrote:
> So how did you do it?  Should I be looking up serial drivers?

  why do it? :) start dis-assembling the palmos roms :P

// az
[EMAIL PROTECTED]
http://www.ardiri.com/
http://www.mobilewizardry.com/


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


------------------------------------------

The information in this transmittal and any attachments is privileged and confidential 
and is intended only for the recipient(s) listed above. You are hereby notified that 
any unauthorized distribution or copying of this transmittal or its attachments is 
prohibited. If you have received this transmittal in error, please notify Invivodata 
immediately at (831) 438-9550.

------------------------------------------


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

Reply via email to