dlopen() and multithreading

From: Matt (m_at_m.net)
Date: 08/30/03

  • Next message: Stefan Hinterstoisser: "Re: relocaton error"
    Date: Fri, 29 Aug 2003 23:46:34 GMT
    
    

    Hi all,

    According to manpage, dlopen() will increase the count from dl manager. does
    this mean that each dlopen()/dlsym() will get its own copy of code
    "segment", so a multithreaded app doesn't need worry about concurrent
    access/use those code/data but except static funcs/variables? So each thread
    can safely dlopen() same lib without mutex?

    TIA


  • Next message: Stefan Hinterstoisser: "Re: relocaton error"