Skip to content

Handle interrupts on thread polling#258

Open
nalyDylan wants to merge 4 commits into
coastalwhite:mainfrom
nalyDylan:suspend-resume-fix
Open

Handle interrupts on thread polling#258
nalyDylan wants to merge 4 commits into
coastalwhite:mainfrom
nalyDylan:suspend-resume-fix

Conversation

@nalyDylan

@nalyDylan nalyDylan commented Jun 28, 2026

Copy link
Copy Markdown

This PR catches polling interruptions of child threads that happen during suspend/resume. The goal is to fix #257

Retries when an interrupt signal but still propogates the error up the same as before for all other errors.

It does add a log entry also, when this suspend/resume issue happened before it took me a while to figure out what was going on because it didn't seem to log. Figured if something happens with this poll it would be nice to know in the future.

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

Successfully merging this pull request may close these issues.

Sway child processes crash with SIGPIPE after suspend/resume

2 participants