Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsdsocket.library's WaitSelect ignores timeout #333

Open
Midar opened this issue Aug 1, 2023 · 0 comments
Open

bsdsocket.library's WaitSelect ignores timeout #333

Midar opened this issue Aug 1, 2023 · 0 comments

Comments

@Midar
Copy link

Midar commented Aug 1, 2023

When using WaitSelect with a timeout, WaitSelect never returns when there are no events to handle. This completely breaks using WaitSelect to peek on sockets.

This has been tested against various other implementations (MorphOS, Roadshow on a real Amiga, etc.) where it seems to work.

See https://objfw.nil.im/tktview/4c4b0ddef1 for the bug that triggered me to find this.

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

No branches or pull requests

1 participant