Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d6739fc2d03c9fe9d4b02115e02a4222964a3fac
Ticket: 219268ffffffffffffffffffffffffffffffffff
Catching errors at [vwait] instead of [bgerror]
User & Date: dgp on 2008-04-10 22:14:59
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    Originator: NO
    
    
    As I understand it, the complaint is 
    about the practice of Tcl_BackgroundError()
    to arrange for the background error handling
    command to be evaluated as an idle callback
    via a Tcl_DoWhenIdle() call.  Or perhaps that
    various Tcl_EventProcs call Tcl_BackgroundError()
    in the first place.
    
    These routines are not directly
    attached to the [vwait] command.  They
    generally that operate in any event
    loop.  As such it seems a mismatch to me to
    try to influence the behavior of general
    client routines of the notifier infrastructure
    with an option to only one of the event loop
    creating commands in only one of the interps
    the notifier may be managing events for.
    
    There may still be a problem here worth
    addressing (not convinced either way), but
    I don't think a correct path for addressing it
    has been identified.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"