Differences From Artifact [587b828b7b]:
- File src/OFKernelEventObserver.h — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 7066) [annotate] [blame] [check-ins using]
To Artifact [f3b368ad12]:
- File
src/OFKernelEventObserver.h
— part of check-in
[24eff635db]
at
2020-01-07 20:28:41
on branch trunk
— OFKernelEventObserver: Remove queueing of actions
This removes the ability to let a thread add or remove objects for
another thread. This features wasn't used at all, but caused significant
problems with kqueue and epoll, as this often resulted in removing a
file descriptor after it had already been closed. (user: js, size: 7063) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
132 133 134 135 136 137 138 | #else of_socket_t _cancelFD[2]; struct sockaddr_in _cancelAddr; #endif #ifdef OF_AMIGAOS ULONG _execSignalMask; #endif | < < < < < < | 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | #else of_socket_t _cancelFD[2]; struct sockaddr_in _cancelAddr; #endif #ifdef OF_AMIGAOS ULONG _execSignalMask; #endif OF_RESERVE_IVARS(4) } /*! * @brief The delegate for the OFKernelEventObserver. */ @property OF_NULLABLE_PROPERTY (assign, nonatomic) |
︙ | ︙ | |||
230 231 232 233 234 235 236 | * @param date The until which to observe */ - (void)observeUntilDate: (OFDate *)date; /*! * @brief Cancels the currently blocking observe call. * | | < | > > > > > > > | 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | * @param date The until which to observe */ - (void)observeUntilDate: (OFDate *)date; /*! * @brief Cancels the currently blocking observe call. * * This is the only method that can and should be called from another thread * than the one using the observer. */ - (void)cancel; /*! * @brief This method should be called by subclasses in @ref observeUntilDate: * as the first thing to handle all sockets that currently have data in * the read buffer. */ - (bool)of_processReadBuffers; @end #endif OF_ASSUME_NONNULL_END |