home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: eggert@twinsun.com (Paul Eggert)
-
- libes@cme.nist.gov (Don Libes) writes:
-
- >SVR4 supports select as well as poll, so it is tempting to consider
- >select the more portable of the two despite its problems.
-
- Unfortunately, BSD and SVR4 disagree about the semantics of `select'.
- BSD `select' returns the number of bits that `select' sets, whereas
- SVR4 `select' returns the number of active file descriptors.
- This discrepancy can lead to subtle bugs in applications: for example,
- X11R5p12's mit/lib/Xt/NextEvent.c assumes the BSD behavior,
- so Xt sometimes loses events in busy SVR4 clients.
-
-
- Volume-Number: Volume 28, Number 52
-
-