Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disable threaded console when we use fork #8121

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

emillon
Copy link
Collaborator

@emillon emillon commented Jul 6, 2023

This is similar to #8100 for the threaded console. The reason we're doing that is to avoid threads when fork is involved.

@emillon emillon requested a review from rgrinberg July 6, 2023 07:17
This is similar to ocaml#8100 for the threaded console. The reason we're
doing that is to avoid threads when fork is involved.

Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon merged commit 721b4cd into ocaml:main Jul 6, 2023
@emillon emillon deleted the fix-threaded-console-disable branch July 6, 2023 08:58
emillon added a commit to emillon/dune that referenced this pull request Jul 6, 2023
This is similar to ocaml#8100 for the threaded console. The reason we're
doing that is to avoid threads when fork is involved.

Signed-off-by: Etienne Millon <me@emillon.org>
emillon added a commit to emillon/dune that referenced this pull request Jul 6, 2023
This is similar to ocaml#8100 for the threaded console. The reason we're
doing that is to avoid threads when fork is involved.

Signed-off-by: Etienne Millon <me@emillon.org>
emillon added a commit that referenced this pull request Jul 6, 2023
This is similar to #8100 for the threaded console. The reason we're
doing that is to avoid threads when fork is involved.

Signed-off-by: Etienne Millon <me@emillon.org>
emillon added a commit to emillon/opam-repository that referenced this pull request Jul 6, 2023
CHANGES:

- Disable background operations and threaded console on MacOS and other Unixes
  where we rely on fork. (ocaml/dune#8100, ocaml/dune#8121, fixes ocaml/dune#8083, @rgrinberg, @emillon)

- Initialize async IO thread lazily. (ocaml/dune#8122, @emillon)
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

- Disable background operations and threaded console on MacOS and other Unixes
  where we rely on fork. (ocaml/dune#8100, ocaml/dune#8121, fixes ocaml/dune#8083, @rgrinberg, @emillon)

- Initialize async IO thread lazily. (ocaml/dune#8122, @emillon)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants