Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

sg: speed up interrupt execution#63032

Merged
burmudar merged 2 commits intomainfrom
wb/sg/interrupt-signal
Jun 3, 2024
Merged

sg: speed up interrupt execution#63032
burmudar merged 2 commits intomainfrom
wb/sg/interrupt-signal

Conversation

@burmudar
Copy link
Contributor

@burmudar burmudar commented Jun 3, 2024

Previously the interrupts where executed serially. Although quick this was not quick enough! Since you if pressed ctrl+c rapidly not all hooks would get executed.

Hooks now get executed concurrently. In my own testing I could reliably get the orphaned process issue by just pressing ctrl+c twice. With this change, even pressing it very quickly - it still executed all hooks and thus all process where cleaned up.

Test plan

Tested locally

@burmudar burmudar requested review from a team and eseliger June 3, 2024 09:44
@burmudar burmudar self-assigned this Jun 3, 2024
@cla-bot cla-bot bot added the cla-signed label Jun 3, 2024
@burmudar burmudar enabled auto-merge (squash) June 3, 2024 09:54
@burmudar burmudar merged commit 4cf94e9 into main Jun 3, 2024
@burmudar burmudar deleted the wb/sg/interrupt-signal branch June 3, 2024 09:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants