shared Object not unloading??

VEENUS A V VEENUS at nestec.net
Sun Mar 7 04:09:34 GMT 2004


Hi

I have a doubt regarding QLibrary. I am working with RH8.

BEGIN OF CODE_SNIPPET

SOName="libSomething.so" // this varies

m_pLibrary = new QLibrary(SOName  ); // load the given library
m_pLibrary->load()

//do something using m_pLibrary

        /** free the .SO file */
        m_pLibrary->unload();
        delete m_pLibrary;


END OF CODE_SNIPPET


Different libnames are assigned to SOName and called. 
The strange behaviour is that  if i call the routine with  same library name
after some sequences, the time taken to load the .so is very less than 1st
time.
Of course its not a problem.!
 since my program loads lot of shared objects. I am cocerned about the
memory.

Is it because of :
1. caching at Qt side
2. caching at linux OS level
3. a bug of my program of Qt.

will it result in a memory inefficiency problem.?

regards
veenus

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list