mono/mono — pull request #351 by madewokherd (2012-06-25 15:32:04+00:00)
Title: Don't try to register threads created before initialization on Windows.

Very bad things happen if mono_thread_attach gets called before mono_jit_init, and mono_thread_attach is called automatically from DllMain on Windows.