platform: use safe containers for global statics
Creates the EnvArgs
type to store the environment argument pointers in thread-safe containers.
Removes the need for a static mutable global variables.
TODO
-
make platform::OUR_ENVIRONMENT
an immutable static -
make platform::environment
an immutable static
Edited by Elle Rhumsaa