Ben,

    Thank you for your suggestion.  It works great.  It took me all night to
implement, but, it was well worth the investment.  It took me a while to
figure out how to setup the shared library.  It is a pretty cool piece of
code now!!!!

Thanks again for all your help.

Brad Figler


"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:100481@;palm-dev-forum...
>
> At 03:21 2002-11-8 -0700, you wrote:
> >Let me make sure I understand what you suggested.
> >
> >Create a shared library that I can call from the interrupt to store the
> >event?  Or am I sending the shared library a notification from the
interrupt
> >so that it knows to go read the data from the serial port?  I am confused
on
> >this point because I have never used/written a shared library (yet!).  I
> >just think that I read that I cannot use global memory in a shared
library!
> >
> >We will be shipping OS4 and greater, probably OS5 by the time we release,
so
> >this is a valid requirement.
>
> Your shared library will probably also have your interrupt handler -- it
> will get woken by the OS, it will add the data to the queue (fast), and
> then post a custom notification which only another routine in itself is
> registered to get.  This avoids the whole event queue mechanism.
>
> --
> Ben Combee <[EMAIL PROTECTED]>
> CodeWarrior for Palm OS technical lead
> Palm OS programming help @ www.palmoswerks.com
>
>
>



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

Reply via email to