Overview
Comment: | OFKernelEventObserver*.m: Minor cleanup |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5924cc3a9217da95fa537b3aaf4a348e |
User & Date: | js on 2015-04-14 19:34:52 |
Other Links: | manifest | tags |
Context
2015-04-14
| ||
19:46 | Add a few more const check-in: 5d729d9ba0 user: js tags: trunk | |
19:34 | OFKernelEventObserver*.m: Minor cleanup check-in: 5924cc3a92 user: js tags: trunk | |
2015-04-13
| ||
11:56 | OFZIPArchive: Exclude bit 11 from GPBF comparison check-in: 037a74f7e6 user: js tags: trunk | |
Changes
Modified src/OFKernelEventObserver.m from [e8b15decf5] to [628ba88c27].
︙ | |||
403 404 405 406 407 408 409 410 411 412 | 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 | + + - - - + - - + + | - (bool)OF_processCache { id const *objects = [_readObjects objects]; size_t i, count = [_readObjects count]; bool foundInCache = false; for (i = 0; i < count; i++) { void *pool = objc_autoreleasePoolPush(); if ([objects[i] isKindOfClass: [OFStream class]] && [objects[i] hasDataInReadBuffer] && ![objects[i] OF_isWaitingForDelimiter]) { |
︙ |
Modified src/OFKernelEventObserver_kqueue.m from [80d98ba3c7] to [5dab973998].
︙ | |||
33 34 35 36 37 38 39 | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - - | #import "OFDataArray.h" #import "OFArray.h" #import "OFInitializationFailedException.h" #import "OFObserveFailedException.h" #import "OFOutOfRangeException.h" |
︙ | |||
124 125 126 127 128 129 130 | 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | - + - - - - + + + - + - - + + | } - (bool)observeForTimeInterval: (of_time_interval_t)timeInterval { void *pool = objc_autoreleasePoolPush(); struct timespec timeout; struct kevent eventList[EVENTLIST_SIZE]; |
Modified src/OFKernelEventObserver_poll.m from [5e6cfe7441] to [c6c9ef266d].
︙ | |||
161 162 163 164 165 166 167 | 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | - - - + - + + + + + + + + - - | @throw [OFObserveFailedException exceptionWithObserver: self errNo: errno]; if (events == 0) return false; for (i = 0; i < nFDs; i++) { |
︙ |
Modified src/OFKernelEventObserver_select.m from [9e96dde949] to [ea8324b0c4].
︙ | |||
127 128 129 130 131 132 133 134 | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | + - + - + | errNo: errno]; if (events == 0) return false; if (FD_ISSET(_cancelFD[0], &readFDs)) { char buffer; #ifndef _WIN32 |
︙ |