summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authorvasiljevic <vasiljevic@noemail.net>2004-07-15 09:57:09 (GMT)
committervasiljevic <vasiljevic@noemail.net>2004-07-15 09:57:09 (GMT)
commit21d067beb1d164e10224e9c6f793d41f710a5c51 (patch)
treec362b0f764c0610c6fa69f713d9dba80f7617d04 /generic/tclEvent.c
parent8a72b6b55416c3d952386db0615b53db0a83ee3b (diff)
downloadtcl-21d067beb1d164e10224e9c6f793d41f710a5c51.zip
tcl-21d067beb1d164e10224e9c6f793d41f710a5c51.tar.gz
tcl-21d067beb1d164e10224e9c6f793d41f710a5c51.tar.bz2
Remoevd initialization of TSD for the new thread in NewThreadProc()
since this will result in TclInitNotifier never being called. FossilOrigin-Name: 7e0ae19d3118d07b72872c1c63633dd15b809e1f
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 6b14e59..19bb0d6 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEvent.c,v 1.28.2.6 2004/07/15 09:40:39 vasiljevic Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.28.2.7 2004/07/15 09:57:10 vasiljevic Exp $
*/
#include "tclInt.h"
@@ -1185,20 +1185,11 @@ NewThreadProc(ClientData clientData)
ClientData threadClientData;
Tcl_ThreadCreateProc *threadProc;
- TCL_TSD_INIT(&dataKey);
-
cdPtr = (ThreadClientData*)clientData;
threadProc = cdPtr->proc;
threadClientData = cdPtr->clientData;
Tcl_Free((char*)clientData); /* Allocated in Tcl_CreateThread() */
- /*
- * Please see the SF Bug #770053 comments to find out why
- * this one below is commented out.
- */
-
- /* TclInitNotifier(); */
-
(*threadProc)(threadClientData);
TCL_THREAD_CREATE_RETURN;