-
Notifications
You must be signed in to change notification settings - Fork 20
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
terminate the solver process on stop #13
Conversation
I can see some situations where you just want to kill the solver, but it's probably nice to have a proper exit option too. So I'd suggest we do the following:
What do you think? |
That makes sense, will do. In that case, it would even be possible to give the solver some timeout to stop gracefully and kill it if it doesn't. Is there any reason to have specifically |
Good point, probably simpler to just add |
I also do: several solver instances are running concurrently (on different constraint systems - that are equivalent w.r.t. my application). I just want the first solution - and kill all other solver instances. |
Done. If you don't like the |
Hi, thanks for the changes. I think it's a good idea to keep the old one as |
otherwise the solver can hang in the background a very long time
Definitely, what was I thinking |
otherwise the solver can hang in the background a very long time