Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a1532f4b520eac42c62648bae8a121ba0fb4de13
Ticket: 3407860fffffffffffffffffffffffffffffffff
thread::exit flaws
User & Date: dgp on 2011-09-11 20:50:07
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Perhaps there's no value fixing a command that's
    marked deprecated, but...
    
    [thread::exit] is documented to take no arguments,
    but that's not checked.  Any number of arguments
    are accepted and ignored without error.
    
    It would seem to be more valuable, both in utility
    and in parallel behavior with [::exit] for the command
    [thread::exit] to accept one optional argument, an
    integer "exit code" for the thread.
    
    Without such an argument [thread::exit] always
    declares the thread exit code to be 666, and
    [thread::join] returns that value as documented,
    when it is used.  But what value is that?  Returning
    a value that never changes?
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  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::exit flaws"
  12. type changed to: "Bug"