Branch: Tag:

1997-11-08

1997-11-08 01:35:41 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug added

Rev: src/array.c:1.21
Rev: src/builtin_functions.c:1.56
Rev: src/gc.c:1.22
Rev: src/gc.h:1.13
Rev: src/interpret.c:1.55
Rev: src/lex.c:1.30
Rev: src/main.c:1.27
Rev: src/mapping.c:1.24
Rev: src/modules/files/file.c:1.61
Rev: src/multiset.c:1.8
Rev: src/object.c:1.29
Rev: src/program.c:1.46
Rev: src/stralloc.c:1.18
Rev: src/svalue.c:1.17
Rev: src/threads.c:1.46

1:   #include "global.h" - RCSID("$Id: threads.c,v 1.45 1997/10/16 06:34:28 hubbe Exp $"); + RCSID("$Id: threads.c,v 1.46 1997/11/08 01:34:45 hubbe Exp $");      int num_threads = 1;   int threads_disabled = 0;
405: Inside #if defined(DEBUG)
   struct thread_state *tmp=(struct thread_state *)(o->storage);    if(tmp->swapped)    { -  gc_xmark_svalues(tmp->evaluator_stack,tmp->sp-tmp->evaluator_stack-1); +  debug_gc_xmark_svalues(tmp->evaluator_stack,tmp->sp-tmp->evaluator_stack-1,"idle thread stack");    }   }   #endif