Branch: Tag:

2002-09-14

2002-09-14 03:32:45 by Martin Stjernholm <mast@lysator.liu.se>

Added a check_threads_etc() before a normal svalue C function call; it's
apparently just an oversight that there's none here when there is one before
the call_lfun/APPLY_LOW variety. (Perhaps both of them could use a
fast_check_threads_etc(3) or so, but it's not entirely certain that these
paths are visited that often.)

Replaced check_threads_etc() with fast_check_threads_etc(6) for normal pike
function calls since they typically generate plenty of evaluator callback
calls anyway.

Rev: src/apply_low.h:1.8
Rev: src/interpret.c:1.266

5:   \*/   /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.265 2002/09/14 02:46:26 mast Exp $"); + RCSID("$Id: interpret.c,v 1.266 2002/09/14 03:32:45 mast Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"
1149: Inside #if defined(PIKE_DEBUG)
   do_trace_call(args);    }   #endif +  check_threads_etc();    (*(s->u.efun->function))(args);      #ifdef PIKE_DEBUG