I am involved with a port of phone ME Advanced for Palm (JavaME) which has some threading requirements. The port I am working from is based on a linux-arm port which has some threading requirements. I suspect the garbage collection of java is the main cause of the threading requirement, but have not gotten very far yet.
In the end, I would anticipate a java virtual machine instance being the active application which handles the "multitasking" for any started JavaME applications. If anyone is interested, check out the on going story at: http://forums.java.net/jive/message.jspa?messageID=281504 Eric On Mon, Aug 25, 2008 at 8:05 PM, Jeff Loucks <[EMAIL PROTECTED]> wrote: > I have a user space threading package I've used behind the scenes in > products on PalmOS, but as Dmitry says, scheduling can be problematic, > and threads must be cooperative, since PalmOS is not reentrant from > user space. What were you hoping to accomplish with pth? > > On Mon, Aug 25, 2008 at 5:22 PM, Dmitry Grinberg <[EMAIL PROTECTED]> wrote: >> 1. user space threads might be problematic, since you cannot easily >> get periodic interrupts >> 2. palmos kernel support native multithreadinhg (my app DynaClock >> makes heavy use of this capability by running two threads in the >> background at all times) >> >> >> ---- >> Best Regards, >> Dmitry Grinberg >> (847) 226 9295 >> >> >> >> On Mon, Aug 25, 2008 at 4:58 PM, Eric Bresie <[EMAIL PROTECTED]> wrote: >>> pth implements user space thread capabilities. It provides pthread >>> compatability so if implemented, it could be useful for further >>> porting opportunities. It works better when you have some built in >>> threading capabilities, but it implements thread making use of setjmp >>> and longjmp. It can make use of some content related capabilities >>> that I don't believe exist presently in Palm. >>> >>> Eric Bresie >>> [EMAIL PROTECTED] >>> >>> On Mon, Aug 25, 2008 at 1:04 PM, Dmitry Grinberg <[EMAIL PROTECTED]> wrote: >>>> last i checked pthreads use the system's native threads, which is a >>>> big stopper for you since PalmOS's threading mechanism is not public >>>> and completely well known to maybe 3 or 4 people outside of Palm Inc >>>> >>>> That is to say: "good luck" >>>> >>>> ---- >>>> Best Regards, >>>> Dmitry Grinberg >>>> (847) 226 9295 >>>> >>>> >>>> >>>> On Mon, Aug 25, 2008 at 10:47 AM, Eric Bresie <[EMAIL PROTECTED]> wrote: >>>>> Hey guys, >>>>> >>>>> I was curious if any of you would be interested in helping to get Gnu pth >>>>> (pthread) ported to work with Palm OS. >>>>> >>>>> See http://www.gnu.org/software/pth >>>>> >>>>> Any help would be welcome. >>>>> >>>>> I have gotten as far as executing the >>>>> >>>>> CC=m68k-palmos-gcc CPPFLAGS="-I/usr/m68k-palmos/include -nostartfiles " >>>>> LIBS=-L=/usr/m68k-palmos/lib ./configure --target=m68k-palmos >>>>> -prefix=/src/threads/pth/pth-2.0.7/build --enable-pthread >>>>> --with-mctx-mth=sjlj --with-mctx-dsp=sjlje --with-mctx-stk=none >>>>> >>>>> which gets me close, but still was hoping someone with a little more Palm >>>>> development experience could lend a hand. >>>>> >>>>> I think my problems are mainly due to trying to build libraries for a >>>>> Unix type environment. Who is the best way to change it into a .prc >>>>> library? >>>>> >>>>> Any additional suggestions would be appreciated. >>>>> >>>>> Eric >>> >>> -- >>> For information on using the ACCESS Developer Forums, or to unsubscribe, >>> please see http://www.access-company.com/developers/forums/ >>> >> >> -- >> For information on using the ACCESS Developer Forums, or to unsubscribe, >> please see http://www.access-company.com/developers/forums/ >> > > > > -- > [Jeff Loucks, Gig Harbor, WA, USA] > > -- > For information on using the ACCESS Developer Forums, or to unsubscribe, > please see http://www.access-company.com/developers/forums/ > -- Eric Bresie [EMAIL PROTECTED] -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
