Skip to content

Simplify some parts of message-switch/unix #6294

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

Merged
merged 3 commits into from
Feb 12, 2025

Conversation

psafont
Copy link
Member

@psafont psafont commented Feb 11, 2025

There was duplicated and unused code, as well as unnecessarily-nested modules.

More importantly, Mutex.unlock exception's weren't handled

Signed-off-by: Pau Ruiz Safont <[email protected]>
The Ivar and CLock modules are unrelated to Cohttp's IO, so move them out.
While doing this, add an interface for both.

Signed-off-by: Pau Ruiz Safont <[email protected]>
Only the relative time was ever used, a module was unused, and types could be
simpler. Added an interface to make this clear.

Signed-off-by: Pau Ruiz Safont <[email protected]>
@psafont psafont force-pushed the private/paus/switchy branch from c75fab0 to 19704ac Compare February 12, 2025 11:04
@psafont
Copy link
Member Author

psafont commented Feb 12, 2025

Removed the ppx preprocessing from dune as well

@psafont psafont added this pull request to the merge queue Feb 12, 2025
Merged via the queue into xapi-project:master with commit 07a4ae4 Feb 12, 2025
15 checks passed
@psafont psafont deleted the private/paus/switchy branch February 12, 2025 13:16
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