M
Mark Huebner
If I have a class C that contains a private variable (property) V and
private function T and T is executed within C as a separate thread, does
thread T have access to private variable (property) V in the instance of
class C? It appears to but another person has suggested that this is
dangerous and that global variables should be defined in a separate class
with the static type modifer.
private function T and T is executed within C as a separate thread, does
thread T have access to private variable (property) V in the instance of
class C? It appears to but another person has suggested that this is
dangerous and that global variables should be defined in a separate class
with the static type modifer.