support for locks... untested, but doesn't break quick run of a sample of test cases
[model-checker.git] / threads.cc
index 7fa4507ee94397e7e092730567901de94cf07a46..39f049541d69184cc012bcd042f2400208863a3a 100644 (file)
@@ -119,6 +119,7 @@ void Thread::complete()
  * @param a The parameter to pass to this function.
  */
 Thread::Thread(thrd_t *t, void (*func)(void *), void *a) :
+       pending(NULL),
        start_routine(func),
        arg(a),
        user_thread(t),