Ticket #361: sendfile.diff
File sendfile.diff, 2.0 KB (added by , 13 years ago) |
---|
-
sendfile.scm
208 208 (when write-timeout 209 209 (##sys#thread-block-for-timeout! 210 210 ##sys#current-thread 211 ( fx+ (##sys#fudge 16) write-timeout)))212 (##sys#thread-block-for-i/o! ##sys#current-thread dst # f)211 (+ (current-milliseconds) write-timeout))) 212 (##sys#thread-block-for-i/o! ##sys#current-thread dst #:output) 213 213 (%yield) 214 214 (when (##sys#slot ##sys#current-thread 13) 215 215 (%error "write operation timed out")) … … 254 254 (when (write-timeout) 255 255 (##sys#thread-block-for-timeout! 256 256 ##sys#current-thread 257 ( fx+ (##sys#fudge 16) (write-timeout))))258 (##sys#thread-block-for-i/o! ##sys#current-thread dst # f)257 (+ (current-milliseconds) (write-timeout)))) 258 (##sys#thread-block-for-i/o! ##sys#current-thread dst #:output) 259 259 (%yield) 260 260 (when (##sys#slot ##sys#current-thread 13) 261 261 (%error "write operation timed out")) … … 302 302 (when write-timeout 303 303 (##sys#thread-block-for-timeout! 304 304 ##sys#current-thread 305 ( fx+ (##sys#fudge 16) write-timeout)))306 (##sys#thread-block-for-i/o! ##sys#current-thread dst # f)305 (+ (current-milliseconds) write-timeout))) 306 (##sys#thread-block-for-i/o! ##sys#current-thread dst #:output) 307 307 (%yield) 308 308 (when (##sys#slot ##sys#current-thread 13) 309 309 (%error "write operation timed out"))