-
-
Notifications
You must be signed in to change notification settings - Fork 670
[Feature Request] Atomic properties #1253
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
Comments
To add to the discussion on Slack: I think we'll have to decide how to approach threading in general. For instance, the mechanism proposed here is a bit like Java's |
Closing this issue as part of 2020 vacuum because the suggestion made here doesn't seem feasible as-is, respectively a more general discussion about how we'd like to approach threads is necessary first. At this point in time, my expectation is that we'll ultimately end up deciding for a more JS-like approach to threading, mimicking workers and postMessage, while leaving the ins and outs of low-level locking to those interested in implementing manual locking. |
Proposed mechanism for this:
@atomic
decoratorGiven the following class example:
The text was updated successfully, but these errors were encountered: