[runtime] Only apply the maverick stack size hack added by d6673ca8ec854f291eb32c0484...
[mono.git] / mono / utils / mono-threads-mach.c
index 2f0e3ad5916513b7bc7bb2033df8163cf2994fed..f4ad2637e57e51c2f04688c586e67870e05041c4 100644 (file)
@@ -58,7 +58,7 @@ mono_threads_core_suspend (MonoThreadInfo *info)
        if (ret != KERN_SUCCESS)
                return FALSE;
        res = mono_threads_get_runtime_callbacks ()->
-               thread_state_init_from_handle (&info->suspend_state, mono_thread_info_get_tid (info), info->native_handle);
+               thread_state_init_from_handle (&info->suspend_state, info);
        if (!res)
                thread_resume (info->native_handle);
        return res;