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

fr: make long running loops cancelable #66

Open
salamanders opened this issue Aug 23, 2017 · 2 comments
Open

fr: make long running loops cancelable #66

salamanders opened this issue Aug 23, 2017 · 2 comments

Comments

@salamanders
Copy link

When I call evaluateCrossValidation, I may want to give up after a certain amount of time. Instead of building in some "isRunning" boolean, would it be easier to check in the loops for https://docs.oracle.com/javase/tutorial/essential/concurrency/interrupt.html if (Thread.interrupted()) { in key areas?

@EdwardRaff
Copy link
Owner

Are you asking how this could be done, or to have it integrated into the current code?

I'm about to start a Java-8 transition, so if you want that added its going to be a bit.

@salamanders
Copy link
Author

It is a low priority feature request.

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