Branch: Tag:

2003-01-08

2003-01-08 19:35:42 by Martin Stjernholm <mast@lysator.liu.se>

Fixed thread local trace flags that broke way back in 7.1.10. Took away the
--without-thread-trace configure option to make the trace flag always exist
in one place. Instead the trace() function is extended to be able to set the
trace flag in all threads.

Rev: src/acconfig.h:1.111
Rev: src/builtin.cmod:1.104
Rev: src/configure.in:1.673
Rev: src/interpret.h:1.121
Rev: src/main.c:1.161
Rev: src/main.h:1.21
Rev: src/opcodes.c:1.130
Rev: src/pike_threadlib.h:1.26

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpret.h,v 1.120 2002/11/23 20:48:09 mast Exp $ + || $Id: interpret.h,v 1.121 2003/01/08 19:35:42 mast Exp $   */      #ifndef INTERPRET_H
40:    char *stack_bottom;   #endif    - #ifdef THREAD_TRACE -  int t_flag; - #endif /* THREAD_TRACE */ +  int trace_level;   };    -  + #define t_flag (Pike_interpreter.trace_level) +    #ifndef STRUCT_FRAME_DECLARED   #define STRUCT_FRAME_DECLARED   #endif