Ignore:
Timestamp:
Feb 25, 2008, 11:18:32 AM (12 years ago)
Author:
gb
Message:

OPTIMAL-BUFFER-SIZE: factor in element-type, so that we map from
octets to elements correctly. Try to use fd-kind-specific means
to determine I/O chunk size (for output-wait.)

Deprecate use of ELEMENTS-PER-BUFFER options.

Add deadline field to IOBLOCK struct; requires some bootstrapping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/l1-sysio.lisp

    r8237 r8584  
    726726                         if-exists
    727727                         if-does-not-exist
    728                          elements-per-buffer
    729728                         class
    730729                         external-format
    731730                         sharing
    732731                         basic)
    733 
    734732  (let* ((temp-name nil)
    735733         (dir (pathname-directory filename))
     
    785783              (make-fd-stream fd :direction direction
    786784                              :element-type element-type
    787                               :elements-per-buffer elements-per-buffer
    788785                              :sharing sharing
    789786                              :basic basic)
     
    797794                       (char-p (or (eq element-type 'character)
    798795                                   (subtypep element-type 'character)))
     796                       (elements-per-buffer (optimal-buffer-size fd element-type))
    799797                       (real-external-format
    800798                        (if char-p
Note: See TracChangeset for help on using the changeset viewer.