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 a BBE for fork statement #4945

Closed
Nadeeshan96 opened this issue Jun 30, 2023 · 1 comment · Fixed by #5045
Closed

Add a BBE for fork statement #4945

Nadeeshan96 opened this issue Jun 30, 2023 · 1 comment · Fixed by #5045

Comments

@Nadeeshan96
Copy link
Contributor

Description

A brief description of the improvement.

Need to add a BBE for fork statement.
Need to explain how message passing occurs between peer workers (with and without fork statement).
https://ballerina.io/spec/lang/master/#section_7.8 says

workers created in a fork-stmt are also peers of each other. The workers created in a fork-stmt are not peers of a function's default worker nor of its named workers.

Related website/documentation area

Add/Uncomment the relevant area label out of the following.

Area/BBEs

Describe the problem(s)

A detailed description of the purpose of this improvement.

Describe your solution(s)

A detailed description of how this improvement will solve the problem described above.

Related issue(s) (optional)

Any related issues such as sub tasks and issues reported in other repositories (e.g., component repositories), similar problems, etc.

Suggested label(s) (optional)

Optional comma-separated list of suggested labels. Non committers can’t assign labels to issues, and thereby, this will help issue creators who are not a committer to suggest possible labels.

Suggested assignee(s) (optional)

Optional comma-separated list of suggested team members who should attend the issue. Non committers can’t assign issues to assignees, and thereby, this will help issue creators who are not a committer to suggest possible assignees.

@Nadeeshan96
Copy link
Contributor Author

We alsondon't have content for fork statement in learn pages also https://ballerina.io/learn/language-basics/. First we can create a BBE after verifying the fork statement behaviour, identifying the use cases. Then we can add learn page content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants