2003-02-16
2003-02-16 17:50:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
442be39811566c1ed4b3a03510363fa3948b816e
(11 lines)
(+5/-6)
[
Show
| Annotate
]
Branch: 7.9
Use DEBUG_CHECK_THREAD()...
Rev: src/interpret.c:1.293
2:
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
- || $Id: interpret.c,v 1.292 2003/02/16 13:54:05 mast Exp $
+ || $Id: interpret.c,v 1.293 2003/02/16 17:50:09 grubba Exp $
*/
#include "global.h"
- RCSID("$Id: interpret.c,v 1.292 2003/02/16 13:54:05 mast Exp $");
+ RCSID("$Id: interpret.c,v 1.293 2003/02/16 17:50:09 grubba Exp $");
#include "interpret.h"
#include "object.h"
#include "program.h"
1208: Inside #if defined(PIKE_DEBUG) && defined(_REENTRANT)
!th_equal(Pike_interpreter.thread_state->id, self) )
Pike_fatal("Current thread is wrong.\n");
- if(thread_for_id(th_self()) != Pike_interpreter.thread_obj)
- Pike_fatal("thread_for_id() (or Pike_interpreter.thread_obj) failed in mega_apply! "
- "%p != %p\n", thread_for_id(self), Pike_interpreter.thread_obj);
+ DEBUG_CHECK_THREAD();
}
#endif