GC.initThread
Prepare a thread for use with the GC after the GC is initialized. Note that you can register an initThread function to call before the GC is initialized, see core.gc.registry.
This function is always called from the thread as it is being started, before any static initializers. The thread object parameter may not yet be registered as ThreadBase.getThis(), as this is called before that happens.