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

Clean shutdown #6

Closed
symisc opened this issue Sep 6, 2019 · 1 comment

Comments

@symisc
Copy link

commented Sep 6, 2019

If a SIGINT/SIGTERM is sent to the main app, what is the best way to exit from a threadpool TCP server, is there a shutdown function to call from tcp_threading_server or any other workaround?
Thanks for this great library!

@webcpp

This comment has been minimized.

Copy link
Owner

commented Sep 6, 2019

I use new and delete to manage the thread pool.

@symisc symisc closed this Sep 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.