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

Lwt_unix.yield was deprecated in favor of Lwt.pause #403

Conversation

MisterDA
Copy link
Contributor

@MisterDA MisterDA commented Oct 4, 2021

Deprecated in the lwt dev, but it's a safe change to make now.
It was added in ocsigen/lwt@f3c5fdb before 2.1.0, so the current lower bound doesn't need to be changed.

Deprecated in the lwt dev, but it's a safe change to make now.
@hannesm
Copy link
Member

hannesm commented Oct 18, 2021

part of #407

@hannesm hannesm closed this Oct 18, 2021
@MisterDA MisterDA deleted the Lwt_main.pause-deprecated-for-Lwt.pause branch October 18, 2021 16:23
hannesm added a commit to hannesm/opam-repository that referenced this pull request Oct 20, 2021
…and conduit-async (5.0.0)

CHANGES:

* change the type of `Conduit_lwt_tls.X509.default_authenticator` and
  `Conduit_lwt_unix.default_ctx` to be lazy, avoiding various side-effects
  (system interactions, logging) due to constructing these values at
  initialisation time. (@craigfe, mirage/ocaml-conduit#395 mirage/ocaml-conduit#404)
* Adapt conduit-mirage to dns-client 6.0.0 API (mirage/ocaml-conduit#406 @hannesm)
* Use Lwt.pause instead of Lwt_unix.yield (mirage/ocaml-conduit#403 @MisterDA)
* Avoid deprecated Fmt.kstrf (mirage/ocaml-conduit#407 @hannesm)
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