Differences From Artifact [2babecb315]:
- File
src/OFStreamObserver.m
— part of check-in
[b554732eae]
at
2010-09-19 02:52:19
on branch trunk
— Improve OFStreamObserver.
It also looks at the cache of each stream now and does not block if
there is still data in the cache. (user: js, size: 6198) [annotate] [blame] [check-ins using]
To Artifact [18e0a8da0a]:
- File src/OFStreamObserver.m — part of check-in [1f02ada35e] at 2010-10-07 21:25:09 on branch trunk — Fix a typo in OFStreamObserver, affecting it only when using select(). (user: js, size: 6199) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
292 293 294 295 296 297 298 | cArray = [writeStreams cArray]; count = [writeStreams count]; for (i = 0; i < count; i++) { int fd = [cArray[i] fileDescriptor]; | | | 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 | cArray = [writeStreams cArray]; count = [writeStreams count]; for (i = 0; i < count; i++) { int fd = [cArray[i] fileDescriptor]; if (FD_ISSET(fd, &writefds_)) [delegate streamDidBecomeReadyForWriting: cArray[i]]; } #endif [pool release]; return YES; |
︙ | ︙ |