Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 83618d10746d899504426474c00d07b40c3d2fdd
Ticket: 218729ffffffffffffffffffffffffffffffffff
vwait doesn't kill background processes on NT (only)
User & Date: nobody on 2000-10-26 01:04:39
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1914 Bug
    Version: 8.0.5
    SubmitDate: '1999-04-20'
    LastModified: '2000-04-26'
    Severity: MED
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    OS: Windows NT
    Machine: X86
    FixedDate: '2000-04-26'
    FixedInVersion: 8.3
    ClosedDate: '2000-10-25'
    
    
    Name:
    jeff vier
    
    CustomShell:
    none
    
    ReproducibleScript:
    This is using wish on NT (obviously).
        
        Just pasting the following script in /should/ (as I understand it, and
        as it is reflected on HP/UX) produce 3 lines of output "abc", "123", and
        "done".  Alas, it does not, as you'll see.
        
        proc go {} {
        puts [info level [info level]]
        set interruptor 1
        after 700 {set interruptor 2394}
        primer
        }
        proc primer {} {
        puts [info level [info level]]
        vwait interruptor;
        global interruptor;
        puts "interruptor = $interruptor";
        
        set n 0
        puts "n = $n";
        after $n {puts "abc"}
        set n [expr $n + 300]
        puts "n = $n";
        after $n {puts "123"}
        set n [expr $n + 500]
        puts "n = $n";
        after $n {puts "xyz"}
        set n [expr $n + 300]
        puts "n = $n";
        after $n {puts "123"}
        set n [expr $n + 500]
        puts "n = $n";
        after $n {puts "abc"}
        set n [expr $n + 300]
        puts "n = $n";
        
        after 400 {set x 0}
        
        vwait x
        puts done
        
        }
        
        go;
    
    ObservedBehavior:
    The script continues past the change of the variable upon which the
        vwait is dependant.  This is not convenient.
    
    DesiredBehavior:
    On HP, the script ends gracefully, as it is described in any
        documentation I can find.
    
    
    
    This produces the same output with 8.3 on NT and Solaris with
    tclsh and wish.  Note that the wish output is different than
    the tclsh output because it will already have the event loop
    going at start time. 
    -- 04/26/2000 hobbs
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "07. Variables"
  10. title changed to:
    vwait doesn't kill background processes on NT (only)
    
  11. type changed to: "Bug"