Branch: Tag:

1999-05-08

1999-05-08 00:37:38 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug

Rev: src/interpret.c:1.123
Rev: src/interpreter.h:1.6

31: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if(d_flag)    { - #if defined(_REENTRANT) && !defined(__NT__) + #ifdef _REENTRANT + #ifndef __NT__    if(!mt_trylock(& interpreter_lock))    fatal("Interpreter running unlocked!\n");   #endif -  +  if(d_flag>1 && thread_for_id(th_self()) != thread_id) +  fatal("thread_for_id() (or thread_id) failed in interpreter.h! %p != %p\n",thread_for_id(th_self()),thread_id); + #endif +     sp[0].type=99; /* an invalid type */    sp[1].type=99;    sp[2].type=99;