Differences From Artifact [985334eabe]:
- File src/OFRunLoop+Private.h — part of check-in [6387b16864] at 2018-12-08 22:01:13 on branch trunk — Minor fix for OFDNSResolver and OFRunLoop (user: js, size: 4660) [annotate] [blame] [check-ins using]
To Artifact [1b93fde180]:
- File
src/OFRunLoop+Private.h
— part of check-in
[f218986f51]
at
2018-12-18 14:14:25
on branch trunk
— Use OFData instead of a buffer for async writes
This avoids the entire problem of keeping the buffer alive until the
write finished. (user: js, size: 4590) [annotate] [blame] [check-ins using]
︙ | |||
51 52 53 54 55 56 57 | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | - - + | + (void)of_addAsyncReadLineForStream: (OFStream <OFReadyForReadingObserving> *) stream encoding: (of_string_encoding_t)encoding mode: (of_run_loop_mode_t)mode delegate: (id <OFStreamDelegate>)delegate; + (void)of_addAsyncWriteForStream: (OFStream <OFReadyForWritingObserving> *) stream |
︙ | |||
93 94 95 96 97 98 99 | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | - - + | + (void)of_addAsyncReadLineForStream: (OFStream <OFReadyForReadingObserving> *) stream encoding: (of_string_encoding_t)encoding mode: (of_run_loop_mode_t)mode block: (of_stream_async_read_line_block_t)block; + (void)of_addAsyncWriteForStream: (OFStream <OFReadyForWritingObserving> *) stream |
︙ |