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: Initialize async IO thread lazily #8122

Merged
merged 2 commits into from
Jul 6, 2023

Conversation

emillon
Copy link
Collaborator

@emillon emillon commented Jul 6, 2023

The goal of that change is to avoid effects of threads when they are not actually needed.

CHANGES.md Outdated Show resolved Hide resolved
src/dune_async_io/async_io.ml Outdated Show resolved Hide resolved
The goal of that change is to avoid effects of threads when they are not
actually needed.

Signed-off-by: Etienne Millon <me@emillon.org>
Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon merged commit b5c752f into ocaml:main Jul 6, 2023
19 checks passed
@emillon emillon deleted the fix-async-io-lazy-init branch July 6, 2023 11:50
emillon added a commit to emillon/dune that referenced this pull request Jul 6, 2023
* fix: Initialize async IO thread lazily

The goal of that change is to avoid effects of threads when they are not
actually needed.

Signed-off-by: Etienne Millon <me@emillon.org>
emillon added a commit to emillon/dune that referenced this pull request Jul 6, 2023
* fix: Initialize async IO thread lazily

The goal of that change is to avoid effects of threads when they are not
actually needed.

Signed-off-by: Etienne Millon <me@emillon.org>
emillon added a commit that referenced this pull request Jul 6, 2023
* fix: Initialize async IO thread lazily

The goal of that change is to avoid effects of threads when they are not
actually needed.

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