Index: vm/thread/src/thread_native_basic.c =================================================================== --- vm/thread/src/thread_native_basic.c (revision 464420) +++ vm/thread/src/thread_native_basic.c (working copy) @@ -121,7 +121,6 @@ } new_thread->priority = priority ? priority : HYTHREAD_PRIORITY_NORMAL; - new_thread->state = TM_THREAD_STATE_ALIVE; //new_thread->suspend_request = suspend ? 1 : 0; start_proc_data = (thread_start_proc_data *) apr_palloc(new_thread->pool, sizeof(thread_start_proc_data)); @@ -590,7 +589,7 @@ thread_set_self(thread); assert(thread == tm_self_tls); - thread->state = TM_THREAD_STATE_ALIVE | TM_THREAD_STATE_RUNNABLE; + thread->state |= TM_THREAD_STATE_ALIVE | TM_THREAD_STATE_RUNNABLE; if (!thread->thread_id) { ++next_id;