From 3412212bcfbfdd5b40c740a46cb48e61a354e52c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 27 Jul 2019 01:08:49 -0700 Subject: [PATCH] bug fix --- threads.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threads.cc b/threads.cc index d17ddabc..b2ed54d5 100644 --- a/threads.cc +++ b/threads.cc @@ -245,7 +245,7 @@ int Thread::create_context() if (model != NULL) makecontext(&context, setup_context, 0); else - makecontext(&context, thread_startup, 0); + makecontext(&context, main_thread_startup, 0); #else makecontext(&context, thread_startup, 0); #endif -- 2.34.1