bug fix
authorroot <root@dw-6.eecs.uci.edu>
Sat, 27 Jul 2019 08:08:49 +0000 (01:08 -0700)
committerroot <root@dw-6.eecs.uci.edu>
Sat, 27 Jul 2019 08:08:49 +0000 (01:08 -0700)
threads.cc

index d17ddabc5535c3d9112fe748522b11f7624b097c..b2ed54d55c99b7bbf939d33513688dcf2e14e7b8 100644 (file)
@@ -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