X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=datarace.h;h=7c24b6d56c1b400a311b0eaae5ef32e9ad0e8c31;hb=02558d484765370cd00ff15008412aa4a15eea11;hp=2fb1a7f927f015628953fbf2504c20fdd133e65a;hpb=44118f596eb7cd9b4b0b5037fbbf958db001accc;p=model-checker.git diff --git a/datarace.h b/datarace.h index 2fb1a7f..7c24b6d 100644 --- a/datarace.h +++ b/datarace.h @@ -5,8 +5,8 @@ #ifndef DATARACE_H #include "config.h" #include -#include #include "modeltypes.h" +#include "stl-model.h" /* Forward declaration */ class ClockVector; @@ -45,9 +45,9 @@ void initRaceDetector(); void raceCheckWrite(thread_id_t thread, void *location, ClockVector *currClock); void raceCheckRead(thread_id_t thread, const void *location, ClockVector *currClock); bool checkDataRaces(); -void printRace(struct DataRace *race); +void assert_race(struct DataRace *race); -extern std::vector unrealizedraces; +extern SnapVector unrealizedraces; /** Basic encoding idea: * (void *) Either: