Skip to content

Comments

fix: #366 Refactor select() socket suspend structures#367

Open
elliott-bfs wants to merge 1 commit intoeclipse-threadx:masterfrom
elliott-bfs:366-nx_bsd_select_wakeup-spurious-events
Open

fix: #366 Refactor select() socket suspend structures#367
elliott-bfs wants to merge 1 commit intoeclipse-threadx:masterfrom
elliott-bfs:366-nx_bsd_select_wakeup-spurious-events

Conversation

@elliott-bfs
Copy link

@elliott-bfs elliott-bfs commented Feb 20, 2026

Refactored select() and nx_bsd_select_wakeup() to differentiate between requested event filter nx_bsd_fd_set and resulting active sockets nx_bsd_fd_set. This prevents spurious events being raised for sockets that are not part of the wakeup triggers.

Fixes #366

Refactored `select()` and `nx_bsd_select_wakeup()` to differentiate between requested event filter `nx_bsd_fd_set` and resulting active sockets `nx_bsd_fd_set`.  This prevents spurious events being raised for sockets that are not part of the wakeup triggers.
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.

nx_bsd_select_wakeup() causes spurious socket events for multiple socket select()

2 participants