ソースを参照

Make sure we flush writes before unlocking the file for read by others

Samuel Thibault 5 年 前
コミット
951c2fcbb9
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1 0
      src/common/utils.c

+ 1 - 0
src/common/utils.c

@@ -464,6 +464,7 @@ int _starpu_fwrlock(FILE *file)
 
 int _starpu_fwrunlock(FILE *file)
 {
+	fflush(file);
 	return _starpu_frdunlock(file);
 }