Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ff3d9ce481400b9de8c7dcfc2b20a6aee3fb17b8
Ticket: 2901998fffffffffffffffffffffffffffffffff
Inconsistent buffered I/O
User & Date: ferrieux on 2009-11-26 14:52:37
Changes

  1. icomment:
    To clarify the proposed fix: the idea is to
    
    (1) have a single read+write cursor, and
    (2) handle properly the case of an overlap between the input and output buffers.
    
    The (2) has two variants:
    
    (2a) flush the output buffer before a read
    (2b) patch the input buffer with the overlapping part of the output buffer
    
    Obviously (2a) has the advantage of simplicity, but generates more flushes, some of them during [read]s.
    While (2b) preserves the "filesystem cache" model of a single I/O RAM buffer, without changing the internal two-buffer structure.
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"