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

Wait on threadpool_scheduler. #21

Closed
amosbird opened this issue Dec 6, 2017 · 2 comments
Closed

Wait on threadpool_scheduler. #21

amosbird opened this issue Dec 6, 2017 · 2 comments

Comments

@amosbird
Copy link
Contributor

amosbird commented Dec 6, 2017

Hi, is there a way to wait for all tasks to be finished in threadpool_scheduler? regards.

@Amanieu
Copy link
Owner

Amanieu commented Dec 6, 2017

Destroying a threadpool_scheduler will cause it to finish executing any tasks that have been added to it before the destructor returns.

@amosbird
Copy link
Contributor Author

amosbird commented Dec 6, 2017

Thanks!

@amosbird amosbird closed this as completed Dec 6, 2017
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

No branches or pull requests

2 participants