Polling Based Job Cancellation by BryonLewis · Pull Request #1365 · Kitware/dive

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@BryonLewis

Copy link Copy Markdown

Collaborator

The previous cancellation logic was dependent on the subprocess printing lines.
This update does a 1 minute polling interval where it checks to see if the state is cancelling.
If it is cancelling it will send signals to kill the sub process. For VIAME it seems that it only responds favorably to a SIGINT signal so that is added.

@BryonLewis BryonLewis requested a review from marySalvi

August 11, 2023 11:27
Copy link Copy Markdown

Collaborator

@marySalvi marySalvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BryonLewis BryonLewis merged commit fc12337 into main

Aug 11, 2023

@BryonLewis BryonLewis deleted the job-cancellation branch

August 11, 2023 21:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@marySalvi marySalvi marySalvi approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@BryonLewis @marySalvi