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

Provide a callback (event) API for implicit yield of concurrent frame #52

Open
ggleyzer opened this issue Mar 17, 2023 · 0 comments
Open

Comments

@ggleyzer
Copy link
Collaborator

In Ecstasy language, the Concurrent mixin is used to annotate classes, properties, and methods, to indicate that the
class, property, or method is safe for concurrent/reentrant execution. An implementer of a Concurrent method needs to be mindful of potentially yielding calls made within the concurrent section of the code and not rely on potentially invalidated local state. @markandrewfalco suggested an extension of Service API that would provide a service callback only if that potential yield has realized and some of the previously collected state might have become stale, thus allowing the service implementer to perform necessary book-keeping only when necessary.

ggleyzer pushed a commit that referenced this issue Mar 17, 2023
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

No branches or pull requests

1 participant