X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=libthreads.cc;h=7dd043c317c715e0604b3cdecf61d210c6bf9742;hb=511dc79c4688c5a304e00d57dee1f7ebc84637a1;hp=86a95e63f7d83d73f81ac89197102b85ba410eb6;hpb=6f2366a6076df350d1f7e0b562a61b3b99339b1f;p=model-checker.git diff --git a/libthreads.cc b/libthreads.cc index 86a95e6..7dd043c 100644 --- a/libthreads.cc +++ b/libthreads.cc @@ -23,8 +23,6 @@ int thrd_join(thrd_t t) Thread *th = model->get_thread(thrd_to_id(t)); while (th->get_state() != THREAD_COMPLETED && !ret) ret = model->switch_to_master(NULL); - /* seq_cst is just a 'don't care' parameter */ - ret = model->switch_to_master(new ModelAction(THREAD_JOIN, memory_order_seq_cst, NULL, VALUE_NONE)); return ret; }