When an atomic read action cannot read from a desired write, make this thread sleep...
[c11tester.git] / datarace.h
index 67d58e7c3c12cd46387391c132c62a945b911685..2de2a3390759f6dafbc24aba83e4b42e0024117e 100644 (file)
@@ -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