[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Another shared lib question



I have been reading the gcc-howto and the elf-howto... and have made my
first shared library. My question is: does the code have to be
rewritten/redesigned to take care of any reentrantcy problems? I have a
feeling that globals/statics are bad news. Am I right? 

For Example:
program a calls foo
foo is about to return x to a when
program b calls foo, setting x to something else

Does this make sense?

TIA,

--
Walter L. Preuninger II                       waldo @ irc.wasteland.org:#unix
walterp@rapidramp.com                           http://walterp.rapidramp.com

                  L  I  N  U  X  Where You Will Want To Be!



Reply to: