summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-25 09:40:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-25 09:40:46 (GMT)
commit12ac0ea3e53a457e944e695b85173a95e8692395 (patch)
tree0309bdaa16e113d628b72e6f79189c5e74f6aca4
parentb38ad5b97817fd3e3c22ffbffb92965dacad04d7 (diff)
downloadtcl-12ac0ea3e53a457e944e695b85173a95e8692395.zip
tcl-12ac0ea3e53a457e944e695b85173a95e8692395.tar.gz
tcl-12ac0ea3e53a457e944e695b85173a95e8692395.tar.bz2
Make it more clear that TclpThreadExit() and Tcl_ExitThread() are TCL_NORETURN too.
-rw-r--r--generic/tclThread.c2
-rw-r--r--unix/tclUnixThrd.c2
-rw-r--r--win/tclWinThrd.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclThread.c b/generic/tclThread.c
index de9fac9..233e380 100644
--- a/generic/tclThread.c
+++ b/generic/tclThread.c
@@ -457,7 +457,7 @@ TclFinalizeSynchronization(void)
*----------------------------------------------------------------------
*/
-void
+TCL_NORETURN void
Tcl_ExitThread(
int status)
{
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index 9587590..3b2d7b4 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -342,7 +342,7 @@ Tcl_JoinThread(
*----------------------------------------------------------------------
*/
-void
+TCL_NORETURN void
TclpThreadExit(
int status)
{
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c
index e8d4d4d..d265821 100644
--- a/win/tclWinThrd.c
+++ b/win/tclWinThrd.c
@@ -291,7 +291,7 @@ Tcl_JoinThread(
*----------------------------------------------------------------------
*/
-void
+TCL_NORETURN void
TclpThreadExit(
int status)
{