Skip to content

select: use SA_RESTART with signals#1371

Merged
achernya merged 1 commit intomobile-shell:masterfrom
vapier:signal-restart
Feb 27, 2026
Merged

select: use SA_RESTART with signals#1371
achernya merged 1 commit intomobile-shell:masterfrom
vapier:signal-restart

Conversation

@vapier
Copy link
Contributor

@vapier vapier commented Jan 27, 2026

Rely on the OS to automatically restart syscalls that were interrupted by signals. This makes code overall more robust because we don't have to explicitly handle EINTR everywhere ourselves.

@achernya
Copy link
Collaborator

If you rebase this we should be able to run CI on it and get this merged.

Rely on the OS to automatically restart syscalls that were interrupted
by signals.  This makes code overall more robust because we don't have
to explicitly handle EINTR everywhere ourselves.
@vapier
Copy link
Contributor Author

vapier commented Feb 27, 2026

rebased

@achernya achernya merged commit 8e47206 into mobile-shell:master Feb 27, 2026
6 checks passed
@vapier vapier deleted the signal-restart branch February 28, 2026 00:53
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.

2 participants