dlopen() and multithreading
From: Matt (m_at_m.net)
Date: 08/30/03
- Previous message: Apu Singh Mary-Ann Smith: "Re: GDB and sleeping processes"
- Next in thread: David Schwartz: "Re: dlopen() and multithreading"
- Reply: David Schwartz: "Re: dlopen() and multithreading"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Apu Singh Mary-Ann Smith: "Re: GDB and sleeping processes"
- Next in thread: David Schwartz: "Re: dlopen() and multithreading"
- Reply: David Schwartz: "Re: dlopen() and multithreading"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]