Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ce6c9d74d99c8b5c1b488920f0f300d1ac30388d
Ticket: 1428575fffffffffffffffffffffffffffffffff
Revise Tcl_(Set|Get)ChannelError(Interp) interface
User & Date: andreas_kupries on 2006-02-10 02:58:13
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Note: Changing the API in this way will _not_ get rid of the
    (un)marshalling. At least not for the threaded case with the
    driver (tcl code) and channel residing in different threads.
    The transfer of the result across threads still requires the
    conversion to a string and later parsing out the components.
    What will change is the location of the unmarshalling, it
    will  happen before the Set(Interp|Channel)Error, instead of
    after Get(Interp|Channel)Error as is done right now.
    
    Regarding FixLevelCode I believe to remember that this was
    the part where I did enforce the restriction of TCL_ERROR. I
    do know that there is a piece of code converting break,
    continue, etc. result from the driver Tcl handler into
    errors. If that conversion alone causes the other parts of
    the core to ignore -level and -code entries then I will
    glady get the superfluous parts chucked.
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"