summaryrefslogtreecommitdiffstats
path: root/generic/tclAsync.c
diff options
context:
space:
mode:
authordas <das@noemail.net>2008-05-03 19:31:28 (GMT)
committerdas <das@noemail.net>2008-05-03 19:31:28 (GMT)
commit9b9bb6cfcd1bf2e2a13242bc1776d71708c91d5b (patch)
tree762feb70012090888e9b36ec7c9d5b33646fa20b /generic/tclAsync.c
parent045b984d5ceb07c8e84b225751f820e6009a052a (diff)
downloadtcl-9b9bb6cfcd1bf2e2a13242bc1776d71708c91d5b.zip
tcl-9b9bb6cfcd1bf2e2a13242bc1776d71708c91d5b.tar.gz
tcl-9b9bb6cfcd1bf2e2a13242bc1776d71708c91d5b.tar.bz2
use Tcl_Panic() instead of panic()
FossilOrigin-Name: 2d576d5da22f5b11474e1a89aa47ebca7f660fd8
Diffstat (limited to 'generic/tclAsync.c')
-rw-r--r--generic/tclAsync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclAsync.c b/generic/tclAsync.c
index 44ffbea..1b2824b 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.13.2.2 2008/04/27 08:26:05 vasiljevic Exp $
+ * RCS: @(#) $Id: tclAsync.c,v 1.13.2.3 2008/05/03 19:31:28 das Exp $
*/
#include "tclInt.h"
@@ -282,7 +282,7 @@ Tcl_AsyncDelete(
*/
if (asyncPtr->originThrdId != Tcl_GetCurrentThread()) {
- panic("Tcl_AsyncDelete: async handler deleted by the wrong thread");
+ Tcl_Panic("Tcl_AsyncDelete: async handler deleted by the wrong thread");
}
/*
@@ -300,7 +300,7 @@ Tcl_AsyncDelete(
thisPtr = thisPtr->nextPtr;
}
if (thisPtr == NULL) {
- panic("Tcl_AsyncDelete: cannot find async handler");
+ Tcl_Panic("Tcl_AsyncDelete: cannot find async handler");
}
if (asyncPtr == tsdPtr->firstHandler) {
tsdPtr->firstHandler = asyncPtr->nextPtr;