Differences From Artifact [870ab6e96c]:
- File
src/OFRunLoop.m
— part of check-in
[c694569d86]
at
2014-01-29 15:54:59
on branch trunk
— Generalize OFKernelEventObserver
It is no longer limited to streams now. (user: js, size: 15867) [annotate] [blame] [check-ins using]
To Artifact [4801e3917e]:
- File src/OFRunLoop.m — part of check-in [7908c035e4] at 2014-01-30 12:26:19 on branch trunk — Rename of_tcpsocket* -> of_tcp_socket_* (user: js, size: 15869) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
80 81 82 83 84 85 86 | } @end @interface OFRunLoop_AcceptQueueItem: OFRunLoop_QueueItem { @public # ifdef OF_HAVE_BLOCKS | | | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | } @end @interface OFRunLoop_AcceptQueueItem: OFRunLoop_QueueItem { @public # ifdef OF_HAVE_BLOCKS of_tcp_socket_async_accept_block_t _block; # endif } @end @implementation OFRunLoop_QueueItem - (void)dealloc { |
︙ | ︙ | |||
268 269 270 271 272 273 274 | ADD(OFRunLoop_ReadLineQueueItem, { queueItem->_block = [block copy]; queueItem->_encoding = encoding; }) } + (void)OF_addAsyncAcceptForTCPSocket: (OFTCPSocket*)stream | | | 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | ADD(OFRunLoop_ReadLineQueueItem, { queueItem->_block = [block copy]; queueItem->_encoding = encoding; }) } + (void)OF_addAsyncAcceptForTCPSocket: (OFTCPSocket*)stream block: (of_tcp_socket_async_accept_block_t)block { ADD(OFRunLoop_AcceptQueueItem, { queueItem->_block = [block copy]; }) } # endif # undef ADD |
︙ | ︙ |