forked from ocaml/ocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unix.fork: do not destroy IO channel mutexes in the child process
Some of these mutexes may be locked, so this is undefined behavior, and can cause fatal errors in the C thread library (ocaml#12636). Leaving IO channel mutexes unchanged is what OCaml 5 does.
- Loading branch information
1 parent
9313ca9
commit d2a1aa2
Showing
1 changed file
with
7 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters