With pseudo code like this:
class FooBar {
public:
int property;
static int m_static;
}
FooBar instance1 = new FooBar();
FooBar instance2 = new FooBar();
If I set property of instance1, it would obviously not effect the second one. However, if I set the static property instead, the change should propagate to every instance of the class.
Will this also happen if instance1 and 2 are in different threads?