Skip to content

Fixed ExecutorsCreate example #35

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

Merged

Conversation

oneils
Copy link
Contributor

@oneils oneils commented Mar 19, 2018

  • added missed Thread.sleep(500) statement to ExecutorsCreate example in order to prevent the daemon threads in the ForkJoinPool instance from being terminated before they call run on the Runnable object

  - added missed Thread.sleep(500) to ExecutorsCreate example to wait until log message is being printed in console.
@axel22 axel22 merged commit 4849877 into concurrent-programming-in-scala:master Jul 6, 2018
@axel22
Copy link
Member

axel22 commented Jul 6, 2018

Great - thanks!

@oneils oneils deleted the fix_Executors_Create branch July 6, 2018 08:01
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

Successfully merging this pull request may close these issues.

2 participants