Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c3fdcce8075b10cdb618052cd2b57db98983e20d
Ticket: 3408824fffffffffffffffffffffffffffffffff
iocmd.tf-24.16 unstable w/ -DPURIFY
User & Date: ferrieux on 2011-09-18 16:01:35
Changes

  1. icomment:
    Yes it does, thanks for switching the light on :)
    One side question: when designing this, have you considered the following, simpler alternative:
    
         When transferring a RC, in addition to tranferring ownership of the channel as usual, just pass the (string) name of the handler proc "foo". Then make it the script writer's entire responsibility to populate the dest thread with the necessary procs and data for [foo write] et al to be meaningful *there*.
    
    I know it's a bit late to react, sorry. But it seems to me that all the special-casing of  "thread-transferring an RC" (the hidden "thread::send + pseudo-vwait", plus all the stuff to encapsulate parameters and results without using cross-interp objects, plus the specific steps to avoid deadlock, etc...) would vanish to be replaced by explicit script-level stuff that is already covered in the existing implementation of the primitives.
    
    What am I missing ?
    
        
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"