Skip to content

Deprecate Lwt_main.yield in favor of Lwt.pause. - #858

Merged
raphael-proust merged 4 commits into
ocsigen:masterfrom
favonia:no-yield
Jul 25, 2021
Merged

raphael-proust merged 4 commits into
ocsigen:masterfrom
favonia:no-yield

Conversation

@favonia

@favonia favonia commented May 23, 2021

Copy link
Copy Markdown
Contributor

This partially addresses #855. The eventual goal is to remove the second pool completely.

Lwt_unix.auto_pause was added to replace Lwt_unix.auto_yield.

Comment thread src/unix/lwt_unix.cppo.ml Resolved
Comment thread CHANGES Resolved
@favonia

favonia commented Jun 9, 2021

Copy link
Copy Markdown
Contributor Author

Is there something left to be done?

Comment thread CHANGES Resolved
@favonia

favonia commented Jul 25, 2021 •

Copy link
Copy Markdown
Contributor Author

I rebased the PR and cleaned up the commit history a bit. Anything else I should do? @raphael-proust

@raphael-proust

Copy link
Copy Markdown
Collaborator

Nothing else to do. I made a small change to the CHANGES file. I'll leave enough time for you to let me know if I have messed up something and then I'll merge.

Thanks for the contribution!

@favonia

favonia commented Jul 25, 2021

Copy link
Copy Markdown
Contributor Author

LGTM

@raphael-proust
raphael-proust merged commit 4912433 into ocsigen:master Jul 25, 2021
@favonia
favonia deleted the no-yield branch July 25, 2021 12:34
@favonia
favonia restored the no-yield branch July 25, 2021 12:34
@favonia
favonia deleted the no-yield branch July 25, 2021 12:34
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.

3 participants