What is the behavior of multiple dynamic loading of static variables?

  c++, dynamic-linking

I use poco classloader to dynamic loading class, there is a question about static variables, We know the life time of static variables until the end of the program. If we reload a .so file, which contain static variables.

So will static variables conflict(already a static variable in memory) when they are created? What is the specific process?

Source: Windows Questions C++

LEAVE A COMMENT