Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2ef20afdf0fa53a4ffe4d027d8aaa0b4d1464dcf
Ticket: 219268ffffffffffffffffffffffffffffffffff
Catching errors at [vwait] instead of [bgerror]
User & Date: ferrieux on 2008-04-10 04:28:00
Changes

  1. icomment:
    Logged In: YES 
    user_id=496139
    Originator: NO
    
    OK, an explicit option is the way to go.
    But instead of passing a callback, why not just raise a synchronous exception ?
    
          vwait -syncerr var
    
    The idea is that catching the vwait (or one of its callers, unaware of the underlying vwait, like in http) is a more modular idiom than  defining an extra procedure.
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"