TSan warns that setting statx_works races with users of it. This isn't really a problem, because we always set it to the same value, but it's distracting when looking for other bugs.
Reported by @avsm in #751.
Test-case:
open Eio.Std
let () =
Eio_main.run @@ fun env ->
Fiber.both
(fun () ->
Eio.Domain_manager.run env#domain_mgr (fun () -> Eio_unix.sleep 100.);
)
(fun () ->
while true do
ignore (Eio.Path.stat ~follow:false (Eio.Stdenv.cwd env) : Eio.File.Stat.t)
done
)
TSan warns that setting
statx_works
races with users of it. This isn't really a problem, because we always set it to the same value, but it's distracting when looking for other bugs.Reported by @avsm in #751.
Test-case: