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

Avoid use of deprecated Lwt_main.yield #1630

Merged
merged 1 commit into from
Nov 26, 2021

Conversation

craigfe
Copy link
Member

@craigfe craigfe commented Nov 26, 2021

... by replacing them with the almost-equivalent Lwt.pause. Promises constructed in this way have slightly different scheduling behaviour, but this shouldn't impact the correctness of our code.

This may make our tests that use these functions more or less flaky; I'm not sure.

See ocsigen/lwt#855 for more details.

... by replacing them with the almost-equivalent `Lwt.pause`. Promises
constructed in this way have slightly different scheduling behaviour,
but this shouldn't impact the correctness of our code.

See ocsigen/lwt#855 for more details.
@craigfe craigfe added the no-changelog-needed No changelog is needed here label Nov 26, 2021
@samoht
Copy link
Member

samoht commented Nov 26, 2021

You beat me to it :-)

@craigfe craigfe merged commit 2022f02 into mirage:main Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog-needed No changelog is needed here
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants