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

Add shared overloads of most mutex/condition methods #354

Merged
merged 2 commits into from
Mar 31, 2023

Conversation

s-ludwig
Copy link
Member

This makes it possible to properly construct Task(Mutex/Condition) objects as shared in order to pass them between threads. A major part missing for the longer term is replacing the current non-shared "Lockable" interface with a shared (and partially nothrow) one, but this will require backwards-incompatible changes. This will then also remove the need for the @trusted conversions.

This makes it possible to properly construct Task(Mutex/Condition) objects as shared in order to pass them between threads. A major part missing for the longer term is replacing the current non-shared "Lockable" interface with a shared (and partially nothrow) one, but this will require backwards-incompatible changes.
@l-kramer l-kramer merged commit fc6f040 into master Mar 31, 2023
@s-ludwig s-ludwig deleted the shared_sync_api branch March 31, 2023 09:38
This pull request was closed.
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