select() functionality ?
[email protected] (Eugene LiS User)
| Newsgroups | gmane.linux.kernel.streams |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have a couple of questions about select() functionality. 1. Can I mix streams fds with non-streams fds in a single select()? 2. Is select() a thread safe call? I.e. can I do select() on fd1 in one thread and then another select() on fd2 in another thread? 3. Wouldn't the second select()on fd2 in the aforementioned scenario cancel the first select() on fd1 ? I.e. I would never get out of select() for fd1, even if data are there? I'll appreciate any comments and/or pointers. thanks, -- Eugene __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp