summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2009-11-23 19:00:49 (GMT)
committerKevin B Kenny <kennykb@acm.org>2009-11-23 19:00:49 (GMT)
commita572d7070900a843d0b8cc6c6bee105f8411c90c (patch)
treefbca67b53047fce3b089b2d81320478824486196 /generic/tclThreadTest.c
parentbc47dee270054a449ec428a8d3a8be5152605ae2 (diff)
downloadtcl-a572d7070900a843d0b8cc6c6bee105f8411c90c.zip
tcl-a572d7070900a843d0b8cc6c6bee105f8411c90c.tar.gz
tcl-a572d7070900a843d0b8cc6c6bee105f8411c90c.tar.bz2
* generic/tclThreadTest.c (NewTestThread): [Bug 2901803]
Further machinations to get NewTestThread actually to launch the thread, not just compile.
Diffstat (limited to 'generic/tclThreadTest.c')
-rw-r--r--generic/tclThreadTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index b5409f2..e009a86 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.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: tclThreadTest.c,v 1.33 2009/11/23 00:02:51 dkf Exp $
+ * RCS: @(#) $Id: tclThreadTest.c,v 1.34 2009/11/23 19:00:49 kennykb Exp $
*/
#ifndef USE_TCL_STUBS
@@ -588,7 +588,7 @@ NewTestThread(
* use by the new thread.
*/
- result = Tcl_PkgRequire(tsdPtr->interp, "Tcltest", TCL_VERSION, 1);
+ result = Tcl_Eval(tsdPtr->interp, "load {} Tcltest");
if (result != TCL_OK) {
ThreadErrorProc(tsdPtr->interp);
}