Skip to content

select: use SA_RESTART with signals#1371

Open
vapier wants to merge 1 commit intomobile-shell:masterfrom
vapier:signal-restart
Open

select: use SA_RESTART with signals#1371
vapier wants to merge 1 commit intomobile-shell:masterfrom
vapier:signal-restart

Conversation

@vapier
Copy link

@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.

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.
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