ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_port.c
(Generate patch)

Comparing libev/ev_port.c (file contents):
Revision 1.33 by root, Sat Aug 17 05:30:16 2019 UTC vs.
Revision 1.34 by root, Sat May 22 20:14:57 2021 UTC

37 * either the BSD or the GPL. 37 * either the BSD or the GPL.
38 */ 38 */
39 39
40/* useful reading: 40/* useful reading:
41 * 41 *
42 * http://bugs.opensolaris.org/view_bug.do?bug_id=6268715 (random results) 42 * https://archive.is/jN6Ck (random results)
43 * http://bugs.opensolaris.org/view_bug.do?bug_id=6455223 (just totally broken) 43 * https://archive.is/bBikp (just totally broken)
44 * http://bugs.opensolaris.org/view_bug.do?bug_id=6873782 (manpage ETIME) 44 * https://archive.is/eJhmu (manpage ETIME)
45 * http://bugs.opensolaris.org/view_bug.do?bug_id=6874410 (implementation ETIME) 45 * https://archive.is/RbgYw (implementation ETIME)
46 * http://www.mail-archive.com/networking-discuss@opensolaris.org/msg11898.html ETIME vs. nget 46 * http://www.mail-archive.com/networking-discuss@opensolaris.org/msg11898.html ETIME vs. nget
47 * http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/gen/event_port.c (libc) 47 * http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/gen/event_port.c (libc)
48 * http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/portfs/port.c#1325 (kernel) 48 * http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/portfs/port.c#1325 (kernel)
49 */ 49 */
50 50
111 EV_ACQUIRE_CB; 111 EV_ACQUIRE_CB;
112 112
113 /* port_getn may or may not set nget on error */ 113 /* port_getn may or may not set nget on error */
114 /* so we rely on port_events [0].portev_source not being updated */ 114 /* so we rely on port_events [0].portev_source not being updated */
115 if (res == -1 && errno != ETIME && errno != EINTR) 115 if (res == -1 && errno != ETIME && errno != EINTR)
116 ev_syserr ("(libev) port_getn (see http://bugs.opensolaris.org/view_bug.do?bug_id=6268715, try LIBEV_FLAGS=3 env variable)"); 116 ev_syserr ("(libev) port_getn (see https://archive.is/jN6Ck, try LIBEV_FLAGS=3 env variable)");
117 117
118 for (i = 0; i < nget; ++i) 118 for (i = 0; i < nget; ++i)
119 { 119 {
120 if (port_events [i].portev_source == PORT_SOURCE_FD) 120 if (port_events [i].portev_source == PORT_SOURCE_FD)
121 { 121 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines