Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fa3f10484cac7810ea815f806fb55a9ae3242ea1
Ticket: 1578877fffffffffffffffffffffffffffffffff
thread::release treats hanging processes wrongly
User & Date: vasiljevic on 2007-06-30 21:41:14
Changes

  1. closedate changed to: "2007-06-30T14:41:14"
  2. closer changed to: "vasiljevic"
  3. icomment:
    Logged In: YES 
    user_id=95086
    Originator: NO
    
    You do not "kill" a thread with thread::release.
    You merely flip a bit that controls what the 
    thread will do when it re-enters its event loop 
    again. If the thread never visits the event loop
    because it is stuck in executing some external
    process, the outcome is undefined. 
    
    Please note that threads are not of an preemptive,
    rather cooperative "multitasking". You cannot 
    execute the same level of control (i.e. kill) on 
    threads like you can do on processes as this 
    will create whole lotta havoc on shared resources 
    (including deadlocks of various kinds).
    
    I will close this ticket now. 
    
    
  4. login: "vasiljevic"
  5. mimetype: "text/plain"
  6. resolution changed to: "Wont Fix"
  7. status changed to: "Closed"
  8. username: "vasiljevic"