Mark.
As Charlie has indicated, we use namespaces to load variables that are private to the thread and code they are in. We have our namespace wrapped within a ‘set’ and ‘get’ function and generally use them to:
store constants, set by a configuration file; or
store session variables; or
make a variable ‘global’ to all functions within the code.