瀏覽代碼

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