Differences From Artifact [0cbb2bba17]:
- File src/OFKernelEventObserver.m — part of check-in [0b478d8138] at 2020-10-31 18:27:34 on branch trunk — OFKernelEventObserver: Allow mutation in observe (user: js, size: 6336) [annotate] [blame] [check-ins using] [more...]
To Artifact [451fcb3cdf]:
- File
src/OFKernelEventObserver.m
— part of check-in
[d76213374e]
at
2020-11-29 02:44:17
on branch trunk
— OFKernelEventObserver: Reorder #ifdefs
Check for AmigaOS first, as we have a special implementation for it that
uses WaitSelect() instead. This way, we no longer need to match $host_os
to manually disable the pipe() check, which would break if one of the
AmigaOS variants adds pipe() later on. (user: js, size: 6384) [annotate] [blame] [check-ins using] [more...]
︙ | |||
111 112 113 114 115 116 117 | 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | - + | !defined(OF_NINTENDO_3DS) socklen_t cancelAddrLen; #endif _readObjects = [[OFMutableArray alloc] init]; _writeObjects = [[OFMutableArray alloc] init]; |
︙ | |||
172 173 174 175 176 177 178 | 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | - + | } return self; } - (void)dealloc { |
︙ | |||
255 256 257 258 259 260 261 | 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | - + - - + + | - (void)observeUntilDate: (OFDate *)date { [self observeForTimeInterval: date.timeIntervalSinceNow]; } - (void)cancel { |