Преглед изворни кода

Disable helgrind checks on pause_depth, we know it is racy and we are fine with it

Samuel Thibault пре 12 година
родитељ
комит
664f84ff73
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/core/workers.c

+ 1 - 0
src/core/workers.c

@@ -1204,6 +1204,7 @@ unsigned _starpu_machine_is_running(void)
 
 void starpu_pause()
 {
+	STARPU_HG_DISABLE_CHECKING(config.pause_depth);
 	config.pause_depth += 1;
 }