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

Join pattern #70

Open
iluwatar opened this issue Jun 23, 2015 · 5 comments
Open

Join pattern #70

iluwatar opened this issue Jun 23, 2015 · 5 comments

Comments

@iluwatar
Copy link
Owner

iluwatar commented Jun 23, 2015

Description:
The Join design pattern allows multiple concurrent processes or threads to be synchronized such that they all must complete before any subsequent tasks can proceed. This pattern is particularly useful in scenarios where tasks can be executed in parallel but the subsequent tasks must wait for the completion of these parallel tasks.

Main Elements of Join Pattern:

  1. Task Execution: Multiple tasks are executed concurrently.
  2. Synchronization Point: A join point where all tasks must converge and synchronize.
  3. Completion Handling: After all tasks reach the join point, subsequent tasks can proceed.

References:

Acceptance Criteria:

  1. Implement a JoinPattern class demonstrating the synchronization of multiple threads using the join pattern.
  2. Include a comprehensive unit test that validates the correct synchronization and execution order of threads.
  3. Ensure the implementation follows the project contribution guidelines as outlined in the wiki.
@AlesandraSzumacher
Copy link

@iluwatar I with @marianka600 want to work on this pattern. Can we?

@iluwatar
Copy link
Owner Author

Great, please go ahead @AlesandraSzumacher and @marianka600

@iluwatar
Copy link
Owner Author

@AlesandraSzumacher and @marianka600 are you still implementing this?

@iluwatar
Copy link
Owner Author

iluwatar commented Oct 5, 2019

This issue is free again

pratigya0 pushed a commit to pratigya0/java-design-patterns that referenced this issue Aug 3, 2023
@iluwatar
Copy link
Owner Author

Updated task description

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