Skip to content

fix: use poll with self-pipe instead of pselect for fds >= 1024 - #26

Merged
markparonyan merged 1 commit into
masterfrom
issue-13
Oct 1, 2026
Merged

markparonyan merged 1 commit into
masterfrom
issue-13

Conversation

@markparonyan

@markparonyan markparonyan commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor
  • Replace pselect/FD_SET in the main loop with poll()
  • Turn SIGCHLD/SIGWINCH/SIGTERM into a readable fd via a self-pipe instead of blocking signals

Closes #13

@markparonyan
markparonyan merged commit 3fa6c49 into master Oct 1, 2026
5 checks passed
@markparonyan
markparonyan deleted the issue-13 branch October 1, 2026 12:40
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.

Main loop breaks with file descriptors >= 1024

1 participant