Skip to content
Tcl Source Code History Of Ticket 218327
Login

History Of Ticket 218327

Artifacts Associated With Ticket 218327

  1. Ticket change [a5972467e0] (rid 110399) by nobody on 2000-10-26 00:56:16:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 3877 Bug
      Version: 8.3b1
      SubmitDate: '1999-12-14'
      LastModified: '2000-04-25'
      Severity: CRIT
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      RelatedBugIDs: 3904
      OS: Windows 2000
      OSVersion: build 2128
      FixedDate: '2000-10-25'
      ClosedDate: '2000-04-25'
      
      
      Name:
      David Gravereaux
      
      CVS:
      I updated on Saturday
      
      CustomShell:
      tclAsync.c fixes in progress.
      
      ReproducibleScript:
      % testthread create {
        load "d:/projects/ghe_cvs/ghe/ghe_dirwatch/debug/ghe_dirwatch.dll"
        GHE::startwatch c:/temp {gotcha [testthread id]}
        proc gotcha {id} {
          puts "c:/temp has been written to and yielded notifier thread $id"
        }
        testthread wait
      }
      1344
      % testthread send 1344 {testthread exit}
      target thread died
      %
      
      ObservedBehavior:
      Now that I got Tcl_AsyncDelete to be using a TSD, that extension's exit handler is being invoved from the main thread rather than the origin thread that called Tcl_CreateExitHandler.  This is now pulling up the wrong TSD and crashing.
      
      
      
      The proper call to use is Tcl_CreateThreadExitHandler instead of
      Tcl_CreateExitHandler, but if Tcl_CreateThreadExitHandler is used
      within the main thread, Tcl_Finalize doesn't call it. 
      -- 04/25/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.3b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "49. Threading"
    10. title initialized to:
      Exit handlers don't get called from the thread they are regi
      
    11. type initialized to: "Bug"
  2. Ticket change [acef23b19a] (rid 101380) by welch on 2000-10-26 08:20:06:

    1. closedate changed to: "2000-10-26T01:20:06"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"