diff options
author | msofer <msofer@noemail.net> | 2007-11-09 21:35:15 (GMT) |
---|---|---|
committer | msofer <msofer@noemail.net> | 2007-11-09 21:35:15 (GMT) |
commit | 8aecfaa3191cfbd0a7864ae434f75ecea4e31b3c (patch) | |
tree | eb56f5290785cb8ac4ee8de28f240ced1a4fe001 /generic/tclAsync.c | |
parent | 6dae4d566eb0cc37ee8b14be027511f60f405d45 (diff) | |
download | tcl-8aecfaa3191cfbd0a7864ae434f75ecea4e31b3c.zip tcl-8aecfaa3191cfbd0a7864ae434f75ecea4e31b3c.tar.gz tcl-8aecfaa3191cfbd0a7864ae434f75ecea4e31b3c.tar.bz2 |
* generic/tclAsync.c:
* generic/tclBasic.c:
* generic/tclExecute.c:
* generic/tclInt.h:
* generic/tclUnixInit.c:
* generic/tclUnixPort.h: new fields in interp (ekeko!) to cache
TSD data that is accessed at each command invocation, access
macros to replace Tcl_AsyncReady and TclpCheckStackSpace by much
faster variants [Patch 1829248]
FossilOrigin-Name: 41cb112a37e67e6291bde5e4eacb1a0a4275eaa9
Diffstat (limited to 'generic/tclAsync.c')
-rw-r--r-- | generic/tclAsync.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclAsync.c b/generic/tclAsync.c index f53e9fa..73c5073 100644 --- a/generic/tclAsync.c +++ b/generic/tclAsync.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: tclAsync.c,v 1.10 2006/07/11 14:29:14 vasiljevic Exp $ + * RCS: @(#) $Id: tclAsync.c,v 1.11 2007/11/09 21:35:17 msofer Exp $ */ #include "tclInt.h" @@ -324,6 +324,12 @@ Tcl_AsyncReady(void) ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); return tsdPtr->asyncReady; } + +int * +TclGetAsyncReadyPtr(void) { + ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); + return &(tsdPtr->asyncReady); +} /* * Local Variables: |