summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-27 21:04:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-27 21:04:39 (GMT)
commitc871de898a41d7e9c1d7cba05483944546c1ad5d (patch)
treea1a470de893f0f36bb2bf0b879c9e3689876e5a1 /generic/tclThreadTest.c
parent443213a39ea739848bcbde1cb4f5e8cab42b3bb3 (diff)
parent1f059c4f281d63894b3daf5e67a0b5166ed2e491 (diff)
downloadtcl-c871de898a41d7e9c1d7cba05483944546c1ad5d.zip
tcl-c871de898a41d7e9c1d7cba05483944546c1ad5d.tar.gz
tcl-c871de898a41d7e9c1d7cba05483944546c1ad5d.tar.bz2
Another round of sentinel improvements
Diffstat (limited to 'generic/tclThreadTest.c')
-rw-r--r--generic/tclThreadTest.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index cd74071..d74be9e 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.c
@@ -370,7 +370,7 @@ ThreadObjCmd(
char buf[TCL_INTEGER_SPACE];
snprintf(buf, sizeof(buf), "%" TCL_LL_MODIFIER "d", (long long)id);
- Tcl_AppendResult(interp, "cannot join thread ", buf, (void *)NULL);
+ Tcl_AppendResult(interp, "cannot join thread ", buf, (char *)NULL);
}
return result;
}
@@ -508,7 +508,7 @@ ThreadCreate(
if (Tcl_CreateThread(&id, NewTestThread, &ctrl,
TCL_THREAD_STACK_DEFAULT, joinable) != TCL_OK) {
Tcl_MutexUnlock(&threadMutex);
- Tcl_AppendResult(interp, "can't create a new thread", (void *)NULL);
+ Tcl_AppendResult(interp, "can't create a new thread", (char *)NULL);
return TCL_ERROR;
}
@@ -819,7 +819,7 @@ ThreadSend(
}
if (!found) {
Tcl_MutexUnlock(&threadMutex);
- Tcl_AppendResult(interp, "invalid thread id", (void *)NULL);
+ Tcl_AppendResult(interp, "invalid thread id", (char *)NULL);
return TCL_ERROR;
}
@@ -913,7 +913,7 @@ ThreadSend(
if (resultPtr->code != TCL_OK) {
if (resultPtr->errorCode) {
- Tcl_SetErrorCode(interp, resultPtr->errorCode, (void *)NULL);
+ Tcl_SetErrorCode(interp, resultPtr->errorCode, (char *)NULL);
ckfree(resultPtr->errorCode);
}
if (resultPtr->errorInfo) {
@@ -921,7 +921,7 @@ ThreadSend(
ckfree(resultPtr->errorInfo);
}
}
- Tcl_AppendResult(interp, resultPtr->result, (void *)NULL);
+ Tcl_AppendResult(interp, resultPtr->result, (char *)NULL);
Tcl_ConditionFinalize(&resultPtr->done);
code = resultPtr->code;
@@ -972,7 +972,7 @@ ThreadCancel(
}
if (!found) {
Tcl_MutexUnlock(&threadMutex);
- Tcl_AppendResult(interp, "invalid thread id", (void *)NULL);
+ Tcl_AppendResult(interp, "invalid thread id", (char *)NULL);
return TCL_ERROR;
}