[ocaml5-issue] On Cygwin Out_channel.flush
can cause Syserror
when used in parallel
#444
Labels
ocaml5-issue
A potential issue in the OCaml5 compiler/runtime
A Cygwin 5.2 run triggered when merging #443 to main found an unexpected counterexample to
STM Out_channel parallel
:https://github.com/ocaml-multicore/multicoretests/actions/runs/8361686850/job/22890359851
AFAICS, the failure can be explained by
Flush
in the "right leg" causingSys_error("Bad file descriptor")
.This goes against the specification, which says:
This is currently captured in the STM Out_channel test as:
The text was updated successfully, but these errors were encountered: