remove EOL spaces, fix indentation
[model-checker.git] / main.cc
diff --git a/main.cc b/main.cc
index b38f7ef4816d003f45d876133dacf0dc0d816bab..19f12f182494685d718a963b23ee01d3ef3ffcb0 100644 (file)
--- a/main.cc
+++ b/main.cc
@@ -6,6 +6,8 @@
 #include "common.h"
 #include "threads.h"
 
+#include "datarace.h"
+
 /* global "model" object */
 #include "model.h"
 #include "snapshot-interface.h"
@@ -55,6 +57,9 @@ void real_main() {
        thrd_t user_thread;
        ucontext_t main_context;
 
+       //Initialize race detector
+       initRaceDetector();
+
        //Create the singleton SnapshotStack object
        snapshotObject = new SnapshotStack();