summaryrefslogtreecommitdiffstats
path: root/doc/SubstObj.3
diff options
context:
space:
mode:
authormdejong <mdejong>2003-07-24 18:16:30 (GMT)
committermdejong <mdejong>2003-07-24 18:16:30 (GMT)
commit36f1698a072c40091f4452ae29366b10cc4be03c (patch)
tree420611bcf77c01f467cd63a0bb099405c28b3cdb /doc/SubstObj.3
parentdb3db9df91cdc7d1b0bdac6c9c927765ce9afd95 (diff)
downloadtcl-36f1698a072c40091f4452ae29366b10cc4be03c.zip
tcl-36f1698a072c40091f4452ae29366b10cc4be03c.tar.gz
tcl-36f1698a072c40091f4452ae29366b10cc4be03c.tar.bz2
* 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.
Diffstat (limited to 'doc/SubstObj.3')
0 files changed, 0 insertions, 0 deletions