diff options
author | vasiljevic <zv@archiware.com> | 2004-07-15 09:57:10 (GMT) |
---|---|---|
committer | vasiljevic <zv@archiware.com> | 2004-07-15 09:57:10 (GMT) |
commit | 816931b3a11518954c98b53eecf1a4c0824545b8 (patch) | |
tree | c362b0f764c0610c6fa69f713d9dba80f7617d04 /generic | |
parent | fb349d117513e5d92abef593a66078b176225ed3 (diff) | |
download | tcl-816931b3a11518954c98b53eecf1a4c0824545b8.zip tcl-816931b3a11518954c98b53eecf1a4c0824545b8.tar.gz tcl-816931b3a11518954c98b53eecf1a4c0824545b8.tar.bz2 |
Remoevd initialization of TSD for the new thread in NewThreadProc()
since this will result in TclInitNotifier never being called.
Diffstat (limited to 'generic')
-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 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; |