Differences From Artifact [90468a0a65]:
- File src/OFStreamObserver.m — part of check-in [a10390bfd6] at 2011-04-06 20:07:16 on branch trunk — Port recent OFStreamObserver changes to Win32. (user: js, size: 11898) [annotate] [blame] [check-ins using]
To Artifact [4bdac00ac8]:
- File src/OFStreamObserver.m — part of check-in [e7bb41764c] at 2011-04-22 20:43:20 on branch 0.5 — OFStreamObserver: Don't ignore the timeout when using select(). (user: js, size: 11967) [annotate] [blame] [check-ins using] [more...]
︙ | |||
485 486 487 488 489 490 491 492 493 494 495 496 497 498 | 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 | + + + | FD_COPY(&exceptfds, &exceptfds_); # else readfds_ = readfds; writefds_ = writefds; exceptfds_ = exceptfds; # endif tv.tv_sec = timeout / 1000; tv.tv_usec = (timeout % 1000) * 1000; if (select(nfds, &readfds_, &writefds_, &exceptfds_, (timeout != -1 ? &tv : NULL)) < 1) return NO; if (FD_ISSET(cancelFd[0], &readfds_)) { char buf; #ifndef _WIN32 |
︙ |