re-adding deprecated g_thread_init function.