pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.123 1999/05/08 00:33:18 hubbe Exp $"); + RCSID("$Id: interpret.c,v 1.124 1999/05/08 16:42:48 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:645: Inside #if defined(PROFILING) and #if defined(HAVE_GETHRTIME)
   (long)(start_time/100000),    (long)(gethrtime()/100000),    (long)(time_base/100000));    }   #endif   #endif      #if defined(PIKE_DEBUG) && defined(_REENTRANT)    if(d_flag)    { -  if( thread_id && !th_equal( OBJ2THREAD(thread_id)->id, th_self()) ) +  THREAD_T self = th_self(); +  +  if( thread_id && !th_equal( OBJ2THREAD(thread_id)->id, self) )    fatal("Current thread is wrong.\n");       if(thread_for_id(th_self()) != thread_id) -  fatal("thread_for_id() (or thread_id) failed in mega_apply! %p != %p\n",thread_for_id(th_self()),thread_id); +  fatal("thread_for_id() (or thread_id) failed in mega_apply! " +  "%p != %p\n", thread_for_id(self), thread_id);    }   #endif       switch(type)    {    case APPLY_STACK:    apply_stack:    if(!args)    PIKE_ERROR("`()", "Too few arguments.\n", sp, 0);    args--;