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

[Spec Deviation] Annotation to indicate that a newly created strand should be in a separate thread from the current strand #18001

Closed
MaryamZi opened this issue Aug 20, 2019 · 1 comment · Fixed by #19834
Assignees
Labels
Spec/2019R3 Related to Ballerina Spec 2019R3 Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/SpecDeviation

Comments

@MaryamZi
Copy link
Member

Description:
The 2019r3 spec says
"There are two language constructs whose execution causes the creation of new strands: named-worker-decl and start-action. These constructs may use annotations to indicate that the newly created strand should be in a separate thread from the current strand. In the absence of such annotations, the new strand must be part of the same thread as the current strand."

This is not supported atm.

Affected Versions:
1.0.0-beta-SNAPSHOT - 15th August build

@MaryamZi MaryamZi added Type/SpecDeviation Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime labels Aug 20, 2019
@pubudu91 pubudu91 added the Spec/2019R3 Related to Ballerina Spec 2019R3 label Oct 17, 2019
@pubudu91 pubudu91 added this to the Ballerina 1.1.0 milestone Oct 17, 2019
@MaryamZi
Copy link
Member Author

Related issue - #19456

@vinok88 vinok88 removed the Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime label Nov 3, 2019
@vinok88 vinok88 added the Points/0.5 Equivalent to half a day effort label Nov 4, 2019
@vinok88 vinok88 self-assigned this Nov 5, 2019
vinok88 added a commit to vinok88/ballerina that referenced this issue Nov 8, 2019
this add support for following annotation for workers and start keywords.
@Concurrent {
   dispatcher:”NAME”;
}
Fixes : ballerina-platform#18001
@hasithaa hasithaa removed the Points/0.5 Equivalent to half a day effort label Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spec/2019R3 Related to Ballerina Spec 2019R3 Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/SpecDeviation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants