X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=threads.cc;h=67f681ca7052538afb794ff87bb9708ff3655daa;hb=44870f54a17bd7a61a94465aec78144c689e336b;hp=b87ae4e4488356764aa4974a261a8ed84ac09577;hpb=89ecd60fab0d93d6df6aa35e663ab67db860fa1d;p=c11tester.git diff --git a/threads.cc b/threads.cc index b87ae4e4..67f681ca 100644 --- a/threads.cc +++ b/threads.cc @@ -143,7 +143,7 @@ Thread::Thread(thread_id_t tid) : stack(NULL), user_thread(NULL), id(tid), - state(THREAD_READY), /* Thread is always ready? */ + state(THREAD_READY), /* Thread is always ready? */ last_action_val(0), model_thread(true) { @@ -176,7 +176,7 @@ Thread::Thread(thread_id_t tid, thrd_t *t, void (*func)(void *), void *a, Thread if (ret) model_print("Error in create_context\n"); - user_thread->priv = this; // WL + user_thread->priv = this; // WL } /**