model: fix release sequence with RMW, acq vs. acq/rel
[model-checker.git] / threads.cc
index a9395926816f38bc4872019a3047357574c1e2b9..7fa4507ee94397e7e092730567901de94cf07a46 100644 (file)
@@ -123,6 +123,7 @@ Thread::Thread(thrd_t *t, void (*func)(void *), void *a) :
        arg(a),
        user_thread(t),
        state(THREAD_CREATED),
+       wait_list(),
        last_action_val(VALUE_NONE)
 {
        int ret;