Skip to content

fr: make long running loops cancelable #66

@salamanders

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?

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