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

syscall.Select #500

Closed
gopherbot opened this issue Jan 6, 2010 · 4 comments
Closed

syscall.Select #500

gopherbot opened this issue Jan 6, 2010 · 4 comments

Comments

@gopherbot
Copy link
Contributor

by graycardinalster:

Where is 

FD_CLR(int fd, fd_set *set);
FD_ISSET(int fd, fd_set *set);
FD_SET(int fd, fd_set *set);
FD_ZERO(fd_set *set);
?
@rsc
Copy link
Contributor

rsc commented Jan 6, 2010

Comment 1:

They're not available.  Use Read and Write directly and they
will multiplex onto a select automatically, without needing
to expose the ugliness of select/poll/epoll/kqueue/etc.

Status changed to WorkingAsIntended.

@rsc
Copy link
Contributor

rsc commented Jan 6, 2010

Comment 2:

Owner changed to r...@golang.org.

@gopherbot
Copy link
Contributor Author

Comment 3 by graycardinalster:

Server with thousand clients without select/poll? Really?

@rsc
Copy link
Contributor

rsc commented Jan 7, 2010

Comment 4:

This is an interesting discussion; please move it to golang-nuts.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants