diff options
author | vasiljevic <vasiljevic@noemail.net> | 2004-07-15 10:00:44 (GMT) |
---|---|---|
committer | vasiljevic <vasiljevic@noemail.net> | 2004-07-15 10:00:44 (GMT) |
commit | 10b9ccedb1852e6e0a2d28a0c86144f3c30a4859 (patch) | |
tree | 2d1a5176a646c6dace6ca290e7c2710094384d8b /generic/tclEvent.c | |
parent | ab08ab647149714701652f52bc63148e8031323c (diff) | |
download | tcl-10b9ccedb1852e6e0a2d28a0c86144f3c30a4859.zip tcl-10b9ccedb1852e6e0a2d28a0c86144f3c30a4859.tar.gz tcl-10b9ccedb1852e6e0a2d28a0c86144f3c30a4859.tar.bz2 |
Removed initialization of TSD for the new thread in NewThreadProc since
this will result in TclInitNotifier never being called.
FossilOrigin-Name: 68afdac7e704898e54c00008bcb1a07bde8e5241
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r-- | generic/tclEvent.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 9850fe6..2abd239 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -12,7 +12,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.41 2004/07/15 09:50:11 vasiljevic Exp $ + * RCS: @(#) $Id: tclEvent.c,v 1.42 2004/07/15 10:00:45 vasiljevic Exp $ */ #include "tclInt.h" @@ -1253,20 +1253,11 @@ NewThreadProc(ClientData clientData) ClientData threadClientData; Tcl_ThreadCreateProc *threadProc; - (void) 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; |