X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=datarace.h;h=2de2a3390759f6dafbc24aba83e4b42e0024117e;hb=7181e517ee521dd6afa240daf23c6e96d95bca2c;hp=67d58e7c3c12cd46387391c132c62a945b911685;hpb=a9e77155aee17d9e66603f970a964bee83f62248;p=c11tester.git diff --git a/datarace.h b/datarace.h index 67d58e7c..2de2a339 100644 --- a/datarace.h +++ b/datarace.h @@ -46,8 +46,10 @@ void initRaceDetector(); void raceCheckWrite(thread_id_t thread, void *location); void raceCheckRead(thread_id_t thread, const void *location); void recordWrite(thread_id_t thread, void *location); -bool checkDataRaces(); void assert_race(struct DataRace *race); +bool hasNonAtomicStore(const void *location); +void setAtomicStoreFlag(const void *location); +void getStoreThreadAndClock(const void *address, thread_id_t * thread, modelclock_t * clock); /** * @brief A record of information for detecting data races