the initialized logic appears to be wrong... release/acquire pairs only
[c11tester.git] / schedule.cc
index 40f9894ebb9a7be5a8ecc918fe56038471c64020..1791605b7c38842c37d11553c37f663c9dc88c38 100644 (file)
@@ -3,6 +3,11 @@
 #include "common.h"
 #include "model.h"
 
+Scheduler::Scheduler() :
+       current(NULL)
+{
+}
+
 void Scheduler::add_thread(Thread *t)
 {
        DEBUG("thread %d\n", t->get_id());