Manifest of check-in
[4dc4a16832]
- * generic/tcl.h: Revert change made on 2003-07-21
since it made the sizeof(Tcl_Obj) different for
regular vs mem debug builds.
* generic/tclInt.h: Define TclDecrRefCount in terms
of Tcl_DbDecrRefCount which removes one layer of
inderection.
* generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount,
Tcl_DbDecrRefCount, Tcl_DbIsShared):
Define ThreadSpecificData that contains a hashtable.
The table is used to ensure that a Tcl_Obj is only
acted upon in the thread that allocated it. This
checking code is enabled only when mem debug and
threads are enabled.
by
mdejong on
2003-07-24 18:16:30.
B 03d3df98ff7cdfa4ebd84d70cf3d5ecb99bab3c5
C \t*\sgeneric/tcl.h:\sRevert\schange\smade\son\s2003-07-21\n\tsince\sit\smade\sthe\ssizeof(Tcl_Obj)\sdifferent\sfor\n\tregular\svs\smem\sdebug\sbuilds.\n\t*\sgeneric/tclInt.h:\sDefine\sTclDecrRefCount\sin\sterms\n\tof\sTcl_DbDecrRefCount\swhich\sremoves\sone\slayer\sof\n\tinderection.\n\t*\sgeneric/tclObj.c\s(TclDbInitNewObj,\sTcl_DbIncrRefCount,\n\tTcl_DbDecrRefCount,\sTcl_DbIsShared):\n\tDefine\sThreadSpecificData\sthat\scontains\sa\shashtable.\n\tThe\stable\sis\sused\sto\sensure\sthat\sa\sTcl_Obj\sis\sonly\n\tacted\supon\sin\sthe\sthread\sthat\sallocated\sit.\sThis\n\tchecking\scode\sis\senabled\sonly\swhen\smem\sdebug\sand\n\tthreads\sare\senabled.\n
D 2003-07-24T18:16:30
F ChangeLog 6d0c70aa27ae3f265aaedc3142c7742594e569df
F generic/tcl.h 165928f881c21d1307d51f5a5df8cd4995f57131
F generic/tclInt.h a64614dccd5bf32548a32e78ac3bdfed2e3a2b85
F generic/tclObj.c 60a457a3b2f61fffbaf37644179f9291c24e735f
P 03d3df98ff7cdfa4ebd84d70cf3d5ecb99bab3c5
U mdejong
Z 7241ba547763242438a8dad537ac5aff