Skip to content

fr: make long running loops cancelable #66

Open

Description

@salamanders

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?

Activity

  1. EdwardRaff commented on Sep 23, 2017

    @EdwardRaff
    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.

  2. salamanders commented on Sep 26, 2017

    @salamanders
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions