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

ending switchboard loop when select returns 0 #59

Merged
merged 1 commit into from
Feb 26, 2024
Merged

ending switchboard loop when select returns 0 #59

merged 1 commit into from
Feb 26, 2024

Conversation

miki725
Copy link
Contributor

@miki725 miki725 commented Feb 26, 2024

this happens when subprocess doesnt do much IO and so subprocess completes even though it has no ready FDs so we should finish loop even when its ==0 vs previously it was only accounting for >0

note that we still only handle ready writes/reads when select returns >0 as there is no point in handling FDs when they have nothing ready yet

this happens when subprocess doesnt do much IO and so subprocess
completes even though it has no ready FDs so we should finish loop
even when its ==0 vs previously it was only accounting for >0

note that we still only handle ready writes/reads when select returns >0
as there is no point in handling FDs when they have nothing ready yet
@miki725 miki725 requested a review from ee7 February 26, 2024 17:40
@miki725 miki725 requested a review from viega as a code owner February 26, 2024 17:40
@miki725 miki725 merged commit c054e51 into dev Feb 26, 2024
2 checks passed
@miki725 miki725 deleted the switchboard branch February 26, 2024 17:42
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