At 10:39 PM 5/31/2004, you wrote:
Hi,


I have some queries about shared libraries

a) Can i keep shared library open for long.or it can cause some issues.I
have read that it may lead to memory curruption.

There are no issues with keeping a shared library open in general. The only consequences would be any resources that the library allocates when open would by occupied, plus the fact that the code resource of the library is locked in memory.


b) Does openeing and closing  of shared library again and again can cause
performance oevrhead.
If i create an application which opens and closes two sharelibraries very
frequently is it going affect the performance of the application?

There's not much OS overhead, it just depends on what you do in your open/close code.


-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to