Changeset 8398
- Timestamp:
- Feb 3, 2008, 4:12:11 AM (17 years ago)
- Location:
- trunk/source/level-1
- Files:
-
- 2 edited
-
l1-streams.lisp (modified) (4 diffs)
-
linux-files.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/level-1/l1-streams.lisp
r8286 r8398 5212 5212 (if timeout 5213 5213 (multiple-value-bind (seconds millis) (milliseconds timeout) 5214 (#_gettimeofday now +null-ptr+)5214 (#_gettimeofday now (%null-ptr)) 5215 5215 (setq timeout (+ (* seconds 1000) millis)) 5216 5216 (+ (timeval->milliseconds now) timeout))))) … … 5226 5226 ;; If there was no timeout, continue to wait forever. 5227 5227 (when timeout 5228 (#_gettimeofday now +null-ptr+)5228 (#_gettimeofday now (%null-ptr)) 5229 5229 (setq timeout (- wait-end (timeval->milliseconds now))) 5230 5230 (if (<= timeout 0) … … 5243 5243 (if timeout 5244 5244 (multiple-value-bind (seconds millis) (milliseconds timeout) 5245 (#_gettimeofday now +null-ptr+)5245 (#_gettimeofday now (%null-ptr)) 5246 5246 (setq timeout (+ (* seconds 1000) millis)) 5247 5247 (+ (timeval->milliseconds now) timeout))))) … … 5257 5257 ;; If there was no timeout, continue to wait forever. 5258 5258 (when timeout 5259 (#_gettimeofday now +null-ptr+)5259 (#_gettimeofday now (%null-ptr)) 5260 5260 (setq timeout (- wait-end (timeval->milliseconds now))) 5261 5261 (if (<= timeout 0) -
trunk/source/level-1/linux-files.lisp
r8351 r8398 1323 1323 (fd-close fd) 1324 1324 (error "Can't make a vector with ~s elements in this implementation." (+ ndata-elements nalignment-elements))) 1325 (let* ((addr (#_mmap +null-ptr+1325 (let* ((addr (#_mmap (%null-ptr) 1326 1326 nbytes 1327 1327 #$PROT_NONE
Note:
See TracChangeset
for help on using the changeset viewer.
