diff options
| author | zv@archiware.com <vasiljevic> | 2004-07-15 09:44:46 (GMT) |
|---|---|---|
| committer | zv@archiware.com <vasiljevic> | 2004-07-15 09:44:46 (GMT) |
| commit | d363f54c8403a08ef0d5f85489fc866ce7c4fd6b (patch) | |
| tree | 44c6ffc416204cfce4d1709e4960a0b8daeb310d | |
| parent | 9d1f6632240588f79208a47d903ddc161154e667 (diff) | |
| download | tcl-d363f54c8403a08ef0d5f85489fc866ce7c4fd6b.zip tcl-d363f54c8403a08ef0d5f85489fc866ce7c4fd6b.tar.gz tcl-d363f54c8403a08ef0d5f85489fc866ce7c4fd6b.tar.bz2 | |
Backout of changes to fix the Tcl Bug #770053.
See SF bugreport for more info.
| -rw-r--r-- | generic/tclEvent.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 69eac18..7ce54ef 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.39 2004/06/22 19:41:25 kennykb Exp $ + * RCS: @(#) $Id: tclEvent.c,v 1.40 2004/07/15 09:44:46 vasiljevic Exp $ */ #include "tclInt.h" @@ -1252,15 +1252,19 @@ NewThreadProc(ClientData clientData) ThreadClientData *cdPtr; ClientData threadClientData; Tcl_ThreadCreateProc *threadProc; + ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); - TCL_TSD_INIT(&dataKey); - - cdPtr = (ThreadClientData*)clientData; + cdPtr = (ThreadClientData *)clientData; threadProc = cdPtr->proc; threadClientData = cdPtr->clientData; Tcl_Free((char*)clientData); /* Allocated in Tcl_CreateThread() */ - TclInitNotifier(); + /* + * Please see the SF Bug #770053 comments to find out why + * this one below is commented out. + */ + + /* TclInitNotifier(); */ (*threadProc)(threadClientData); |
