Branch: Tag:

2000-04-19

2000-04-19 16:14:37 by Martin Stjernholm <mast@lysator.liu.se>

Better debug checks on the interpreter lock.

Rev: src/interpret.c:1.144
Rev: src/interpreter.h:1.41
Rev: src/modules/HTTPLoop/accept_and_parse.c:1.12
Rev: src/modules/HTTPLoop/cache.c:1.9
Rev: src/modules/Java/jvm.c:1.15
Rev: src/modules/files/file.c:1.174
Rev: src/modules/files/sendfile.c:1.38
Rev: src/program.c:1.229
Rev: src/signal_handler.c:1.169
Rev: src/threads.c:1.122
Rev: src/threads.h:1.86

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.228 2000/04/16 16:00:35 mast Exp $"); + RCSID("$Id: program.c,v 1.229 2000/04/19 16:03:30 mast Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
3734:    int offset;      #ifdef _REENTRANT - #ifndef __NT__ -  if(d_flag) -  if(!mt_trylock(& interpreter_lock)) -  fatal("get_storage running unlocked!\n"); +  if(d_flag) CHECK_INTERPRETER_LOCK();   #endif - #endif +        offset= low_get_storage(o->prog, p);    if(offset == -1) return 0;