Artifacts Associated With Ticket 2942081fffffffffffffffffffffffffffffffff
Ticket change [be2f21d442] (rid 102032) by nijtmans on 2010-01-29 09:15:18:
- assignee initialized to: "nijtmans"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The changelog mentiones: 2008-05-09 George Peter Staplin <[email protected]> * generic/tcl.h:Make Tcl_ThreadDataKey a void *. However, I think that this change is not a good idea. It allows the first argument of Tcl_GetThreadData to be any pointer, and that's not meant to be. The proposed patch, which reverts it to how it was in Tcl 8.5: Comments? Index: generic/tcl.h =================================================================== RCS file: /cvsroot/tcl/tcl/generic/tcl.h,v retrieving revision 1.298 diff -u -r1.298 tcl.h --- generic/tcl.h22 Jan 2010 13:05:17 -00001.298 +++ generic/tcl.h29 Jan 2010 09:12:47 -0000 @@ -499,14 +499,13 @@ typedef struct Tcl_Mutex_ *Tcl_Mutex; typedef struct Tcl_Pid_ *Tcl_Pid; typedef struct Tcl_RegExp_ *Tcl_RegExp; +typedef struct Tcl_ThreadDataKey_ *Tcl_ThreadDataKey; typedef struct Tcl_ThreadId_ *Tcl_ThreadId; typedef struct Tcl_TimerToken_ *Tcl_TimerToken; typedef struct Tcl_Trace_ *Tcl_Trace; typedef struct Tcl_Var_ *Tcl_Var; typedef struct Tcl_ZLibStream_ *Tcl_ZlibStream; -typedef void *Tcl_ThreadDataKey; - /* * Definition of the interface to functions implementing threads. A function * following this definition is given to each call of 'Tcl_CreateThread' and
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nijtmans"
- subsystem initialized to: "49. Threading"
- title initialized to: "Tcl_ThreadDataKey changed to void *"
- type initialized to: "Bug"
Ticket change [bbb44e3085] (rid 129533) by nijtmans on 2010-01-30 06:16:52:
- closedate changed to: "2010-01-29T23:16:52"
- closer changed to: "nijtmans"
- icomment:
allow_comments - 1 Got private answer from Peter, so reverting and closing.
- login: "nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "nijtmans"