Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a heretical S17, written from scratch.
This describes the current state of concurrency as found in Rakudo JVM as well as some other planned things. lizmat++ for review and much feedback. This is for discussion, and so we can start collectively working on better naming, API design, etc. where needed.
- Loading branch information
0b11765
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many concurrency systems provide for external cancellation. One way to approach this would be to allow exceptions to be thrown into running code from outside. There could be flavors of these, like "nobody is interested in your .result anymore, just complete any side-effects" One might also want a more polite a "throw this exception into this thread, but only if the thread has defined a handler for it."