Skip to content
Tcl Source Code History Of Ticket 1578877fffffffff
Login

History Of Ticket 1578877fffffffff

Artifacts Associated With Ticket 1578877fffffffff

  1. Ticket change [5b725d4afa] (rid 118328) by nobody on 2006-10-17 11:43:20:

    1. assignee initialized to: "vasiljevic"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      If you run a process in a thread and try to kill it 
      with thread::release, then the thread ID will be 
      removed from the list even though it remains running, 
      e.g. if it is stuck in an infinite loop.
      
    4. foundin initialized to: "obsolete: 8.4.13"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nobody"
    10. subsystem initialized to: "80. Thread Package"
    11. title initialized to: "thread::release treats hanging processes wrongly"
    12. type initialized to: "Bug"
  2. Ticket change [bb4b449dd4] (rid 129461) by vasiljevic on 2006-10-17 19:28:55:

    1. icomment:
      Logged In: YES 
      user_id=95086
      
      What do you mean by "if you run a process in a thread" ?
      Can you give me a small example in Tcl to illustrate the
      problem? 
      What platform are you using? 
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  3. Ticket change [fa3f10484c] (rid 91836) by vasiljevic on 2007-06-30 21:41:14:

    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"