Update of /cvsroot/naviserver/naviserver/nsthread
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29273/nsthread
Modified Files:
tls.c
Log Message:
* nsd/tclinit.c:
* nsthread/tls.c: Moved call to Tcl_FinalizeThread to end of TLS
cleanup to better catch any cases of Tcl being used outside
expected interfaces.
Index: tls.c
===================================================================
RCS file: /cvsroot/naviserver/naviserver/nsthread/tls.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** tls.c 10 Jun 2005 17:58:59 -0000 1.2
--- tls.c 7 Jul 2005 03:31:02 -0000 1.3
***************
*** 186,188 ****
--- 186,189 ----
}
} while (retry && trys++ < 5);
+ Tcl_FinalizeThread();
}
|