* src/threads/thread.cpp: Set thread to RUNNABLE during Thread.start.
[cacao.git] / src / threads / posix / thread-posix.cpp
index ce03f801636ba8632a11cc2831ea393155d40c4e..859354d2ef680c7bd30a26644c3a52ab768231ea 100644 (file)
@@ -722,10 +722,6 @@ static void *threads_startup_thread(void *arg)
 
        threads_set_thread_priority(t->tid, jlt.get_priority());
 
-       /* Thread is completely initialized. */
-
-       thread_set_state_runnable(t);
-
        /* tell threads_startup_thread that we registered ourselves */
        /* CAUTION: *startup becomes invalid with this!             */