Skip to content
Tcl Source Code History Of Ticket 419449ffffffffff
Login

History Of Ticket 419449ffffffffff

Artifacts Associated With Ticket 419449ffffffffff

  1. Ticket change [0734ddfcea] (rid 89348) by vincentdarley on 2001-04-27 11:05:28:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      If TclInExit is called very late in the finalize 
      sequence, the thread specific data has been freed 
      already, and TclInExit returns the wrong value (and in 
      fact re-initialises the thread specific data).  The 
      patch below fixes this problem.
      
      TclKit can, under some circumstances, run into this 
      bug.
      
      
      $ diff -r -C3 tcl8.4/generic/tclEvent.c 
      tcl8.4v/generic/tclEvent.c
      *** tcl8.4/generic/tclEvent.c   Sat Mar 31 08:57:31 
      2001
      --- tcl8.4v/generic/tclEvent.c  Thu Feb  1 15:21:47 
      2001
      ***************
      *** 935,942 ****
        int
        TclInExit()
        {
      !     ThreadSpecificData *tsdPtr = TCL_TSD_INIT
      (&dataKey);
      !     return tsdPtr->inExit;
        }
        ^L
        /*
      --- 935,946 ----
        int
        TclInExit()
        {
      !     ThreadSpecificData *tsdPtr = TclThreadDataKeyGet
      (&dataKey);
      !     if (tsdPtr == NULL) {
      !       return inFinalize;
      !     } else {
      !       return tsdPtr->inExit;
      !     }
        }
        ^L
        /*
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "vincentdarley"
    9. subsystem initialized to: "None"
    10. title initialized to: "TclInExit returns wrong value."
    11. type initialized to: "Bug"
  2. Ticket change [edd28e53a1] (rid 103964) by dgp on 2001-04-28 07:34:36:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Can you attach the patch, rather than include it
      in the comment?
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [9e0e962bd7] (rid 96411) by andreas_kupries on 2001-09-07 04:06:57:

    1. assignee changed to: "hobbs"
    2. subsystem changed to: "02. Event Loops"
  4. Add attachment "tclEvent.patch" [e2153ebd6b] (rid 87561) by vincentdarley on 2001-09-10 23:39:36.

  5. Ticket change [0bbb534d21] (rid 114045) by vincentdarley on 2001-09-10 23:39:36:

    1. icomment:
      
      
      File Added - 10604: tclEvent.patch
      
      Logged In: YES 
      user_id=32170
      
      Ok, a patch is attached.
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  6. Ticket change [909544330e] (rid 120476) by hobbs on 2001-09-11 08:28:37:

    1. closedate changed to: "2001-09-11T01:28:37"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      fixed in core-8-3-1-branch and 8.4a4cvs head.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"
  7. Add attachment "patch" [0d9cb3fbcc] (rid 114393) by mdejong on 2002-11-07 09:12:18.

  8. Ticket change [80a04834a2] (rid 116897) by mdejong on 2002-11-07 09:12:18:

    1. closedate changed to: "2002-11-07T02:12:18"
    2. closer changed to: "mdejong"
    3. icomment:
      
      
      File Added - 34814: patch
      
      Logged In: YES 
      user_id=90858
      
      Jeff mentioned that this patch was related to the problem I
      was having.
      I ended up solving it by splitting the normal and per thread
      exit
      status up into two functions so that one could tell when Tcl
      was finalizing itself in a callback registered by
      Tcl_CreateExitHandler.
      The patch I checked in is attached.
      
      
    4. login: "mdejong"
    5. mimetype: "text/plain"
    6. username: "mdejong"