Skip to content

select()'s first argument should be zero, if no file descriptors are selected#433

Open
MitchellCash wants to merge 1 commit intoPaycoinFoundation:masterfrom
MitchellCash:select-fix
Open

select()'s first argument should be zero, if no file descriptors are selected#433
MitchellCash wants to merge 1 commit intoPaycoinFoundation:masterfrom
MitchellCash:select-fix

Conversation

@MitchellCash
Copy link
Contributor

The most portable invocation for the zero-fds case, a widely used
portable hack for sleeping, generally involves passing NULL arguments
when the fd sets are unused. This form is used here.

@IngCr3at1on
Copy link
Contributor

Looks good but went ahead and deployed on a test node for a bit (15 minutes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants