Skip to content

Check for wakeup socket errors on read and close and reinit to reset#2482

Merged
dpkp merged 3 commits intomasterfrom
dpkp/wakeup-socketpair-recycle
Feb 16, 2025
Merged

Check for wakeup socket errors on read and close and reinit to reset#2482
dpkp merged 3 commits intomasterfrom
dpkp/wakeup-socketpair-recycle

Conversation

@dpkp
Copy link
Copy Markdown
Owner

@dpkp dpkp commented Feb 15, 2025

Attempt to be a bit more defensive with wakeup socketpair. Check for socket error and rebuild socketpair if necessary. Use a _waking flag to avoid writing more bytes to the socketpair when it's not needed. Raise errors on failed write attempts.

@dpkp dpkp force-pushed the dpkp/wakeup-socketpair-recycle branch from 80f015a to f460b26 Compare February 15, 2025 18:35
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.

1 participant