Hi, I am confused and am hoping someone can help!

If a shared library uses AlmSetProcAlarm to set an alarm with a ref
parameter pointing to some data used by a shared library, how can the alarm
code, when triggered, ensure that the ref data is not being read or written
by other shared library code running on another application's thread?

Maybe the question is more general. Since a shared library can be
multi-threaded, how can it perform serialization of access to data shared
amongst the threads?

Thanks for any help.



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

Reply via email to