Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: d4b09244215f4b0c4656002b65e89ea5d434e31a
Ticket: 1350564fffffffffffffffffffffffffffffffff
Inadequate fcopy operation
User & Date: ferrieux 2014-04-28 20:10:44
Changes

  1. closedate changed to: "2456776.34079354"
  2. closer changed to: "ferrieux"
  3. icomment:
    > BTW, can I multiplex a single source into
    > multiple destinations with fcopy (as tee(1)
    > would do)? Should I be able to?
    
    Not "out of the box", because async fcopy is a simple-minded "byte noria", that essentially spends its life alternating a readable and a writable fileevent (in C), guaranteeing no accumulation in memory. The noria requires to be alone fiddling with fileevents in that direction, otherwise there would be a race on the read side.
    
    If instead you want to "fork the flow", simply do a single fcopy towards a synthetic channel (refchan) that duplicates.
    
  4. login: "ferrieux"
  5. mimetype: "text/plain"