summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-11-11 20:26:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-11-11 20:26:44 (GMT)
commitd28b289d710a1d4b1a8cf5b8cb6a3794f8ebc1ac (patch)
tree8a8f70f25d3ec9a7245b2f9f4a375adf8b548571 /generic/tclThreadTest.c
parent4ab16b8c5a1ba8f83f8541dc717947711d9c802d (diff)
downloadtcl-d28b289d710a1d4b1a8cf5b8cb6a3794f8ebc1ac.zip
tcl-d28b289d710a1d4b1a8cf5b8cb6a3794f8ebc1ac.tar.gz
tcl-d28b289d710a1d4b1a8cf5b8cb6a3794f8ebc1ac.tar.bz2
Use many many more ObjProc's in test code: we should give a good example here
Diffstat (limited to 'generic/tclThreadTest.c')
-rw-r--r--generic/tclThreadTest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index b34df65..52493c1 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.c
@@ -121,7 +121,7 @@ static char *errorProcString;
TCL_DECLARE_MUTEX(threadMutex)
-static Tcl_ObjCmdProc ThreadObjCmd;
+static Tcl_ObjCmdProc ThreadCmd;
static int ThreadCreate(Tcl_Interp *interp, const char *script,
int joinable);
static int ThreadList(Tcl_Interp *interp);
@@ -171,14 +171,14 @@ TclThread_Init(
}
Tcl_MutexUnlock(&threadMutex);
- Tcl_CreateObjCommand(interp, "testthread", ThreadObjCmd, NULL, NULL);
+ Tcl_CreateObjCommand(interp, "testthread", ThreadCmd, NULL, NULL);
return TCL_OK;
}
/*
*----------------------------------------------------------------------
*
- * ThreadObjCmd --
+ * ThreadCmd --
*
* This procedure is invoked to process the "testthread" Tcl command. See
* the user documentation for details on what it does.
@@ -204,7 +204,7 @@ TclThread_Init(
*/
static int
-ThreadObjCmd(
+ThreadCmd(
TCL_UNUSED(void *),
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */