Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4c3acc0e4792d373206bf337a2689b44d91e61db
Ticket: 3439599fffffffffffffffffffffffffffffffff
thread::cancel not reporting error
User & Date: dgp on 2011-11-17 21:37:38
Changes

  1. assignee changed to: "mistachkin"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    $ cat demo2.tcl
    package require Thread 2.7
    
    set ::bar "NO ERROR THROWN"
    proc ::foo {id info} {
        set ::bar "Thread $id stack:\n$info"
    }
    thread::errorproc ::foo
    
    set one [thread::create -joinable {while 1 {}}]
    thread::cancel $one
    thread::join $one
    puts stderr "SAVED ERROR: $::bar"
    
    
    $ make shell SCRIPT=demo2.tcl
    ...
    SAVED ERROR: NO ERROR THROWN
    
    
  4. foundin changed to: "obsolete: 8.6b2"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "80. Thread Package"
  11. title changed to: "thread::cancel not reporting error"
  12. type changed to: "Bug"