It is currently Sat, 04 Feb 2023 12:48:53 GMT



 
Author Message
 Global variable in shared libs
Do you explain to me. Using global variables in shared libraries cause some
problems , or not.
If there is thecniques about daclaring and using of them, could you axplain.


 Sun, 24 Mar 2002 03:00:00 GMT   
 Global variable in shared libs

The same question was answered about 2 weeks ago (try dejanews) and
afair the answer was (for most unices): global variables in shared
libraries are NOT shared between processes, i.e. every process has its
own copy.

Harald Kirsch

--
P.S.: Never ever mail me copies of your posts.
---------------------+---------------------------------------------
Harald Kirsch (@home)|    Don't like `make' ?
k...@iitb.fhg.de      |    Look at http://wsd.iitb.fhg.de/~kir/brashome/
     A no-smoking area in a restaurant is like a
     no-pee area in a swimming pool.



 Sun, 24 Mar 2002 03:00:00 GMT   
 
   [ 2 post ] 

Similar Threads

1. Shared libs with g++: Core dump with static global objects

2. AIX shared libs with g++: global constructors not executed

3. shared libs and global Constructors

4. Singleton global variable in a shared library

5. global variable with shared library

6. Global variables inside shared library on Solaris

7. sharing global variables between kernel modules

8. Visibility of global variables in shared libraries

9. Accessing global variables from shared/dynmaic functions.

10. Shared libraries and global variables


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software