Skip to content

Replace select usage with selectors#94

Open
lundstrom14 wants to merge 1 commit intoSIPp:masterfrom
lundstrom14:feature/osx-support-replace-select-with-selectors
Open

Replace select usage with selectors#94
lundstrom14 wants to merge 1 commit intoSIPp:masterfrom
lundstrom14:feature/osx-support-replace-select-with-selectors

Conversation

@lundstrom14
Copy link

Modify PopenRunner to use selectors module for cross-platform compatibility

This change replaces the Linux-specific select.epoll with the selectors module, allowing the code to work on other platforms. Key updates include using selectors.DefaultSelector() and handling events with selectors.EVENT_READ for better portability

@goodboy
Copy link
Member

goodboy commented Feb 20, 2026

Hey @lundstrom14 thanks for the patch!

i'd love to port to the new stdlib APIs tho it would be suuuper great if we could get CI also demonstrating that it works before we start landing changes like this 🙏🏼

Do you have any interest in maybe helping with that as well?

If so i think there should already be some open issues/prs?

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