Make atomics actually write to memory for compatibility with normal accesses
[c11tester.git] / datarace.h
index 7e4e68e22c3d01947ed50e4852242e32d6acdd66..7c84121541312758ff469ebdc3946df5fdebb333 100644 (file)
@@ -45,6 +45,7 @@ struct DataRace {
 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);