ソースを参照

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;
 }