ProjectSkyfire/SkyFireEMU_rebase — pull request #22 by fgenesis (2011-11-11 20:46:20+00:00)
Title: Static initialization crash fix on Linux 64 bit

Details are in the commit message.
This fixes crashes for me on Linux/GCC, but always worked with MSVC.

From the ACE_TSS docs:

* @note Beware when creating static instances of this type
* (as with any other, btw). The unpredictable order of initialization
* across different platforms may cause a situation where one uses
* the instance before it is fully initialized. That's why typically
* instances of this type are dynamicaly allocated. On the stack it is
* typically allocated inside the ACE_Thread::svc() method which
* limits its lifetime appropriately.