diff options
author | das <das@noemail.net> | 2008-05-03 19:31:06 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2008-05-03 19:31:06 (GMT) |
commit | 4efbf3ec71bfcd62037b746b694f470e8fe51c2f (patch) | |
tree | 4c7aa6040333242812d04993cb4457c22e42c708 /generic/tclAsync.c | |
parent | 657c672e9ff3ed9761aedce17f805f5bbdce86dc (diff) | |
download | tcl-4efbf3ec71bfcd62037b746b694f470e8fe51c2f.zip tcl-4efbf3ec71bfcd62037b746b694f470e8fe51c2f.tar.gz tcl-4efbf3ec71bfcd62037b746b694f470e8fe51c2f.tar.bz2 |
use Tcl_Panic() instead of panic()
FossilOrigin-Name: f2076ab1fb02107cf962e9f478301ae96d297918
Diffstat (limited to 'generic/tclAsync.c')
-rw-r--r-- | generic/tclAsync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclAsync.c b/generic/tclAsync.c index f57c456..1e5733e 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.15 2008/04/27 08:36:20 vasiljevic Exp $ + * RCS: @(#) $Id: tclAsync.c,v 1.16 2008/05/03 19:31:07 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; |