Branch: Tag:

2003-02-15

2003-02-15 17:33:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

create_thread() is now truly a class...

Rev: src/builtin_functions.c:1.476
Rev: src/encode.c:1.164
Rev: src/gc.c:1.208
Rev: src/interpret.c:1.290
Rev: src/interpret.h:1.127
Rev: src/modules/HTTPLoop/timeout.c:1.11
Rev: src/modules/files/file.c:1.254
Rev: src/pike_threadlib.h:1.30
Rev: src/threads.c:1.203
Rev: src/threads.h:1.124

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: builtin_functions.c,v 1.475 2003/02/10 17:10:39 mast Exp $ + || $Id: builtin_functions.c,v 1.476 2003/02/15 17:33:33 grubba Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.475 2003/02/10 17:10:39 mast Exp $"); + RCSID("$Id: builtin_functions.c,v 1.476 2003/02/15 17:33:33 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
5997:    * thread local or not, since if we do it wrong we might end up    * returning a negative number. */   #if CPU_TIME_IS_THREAD_LOCAL == PIKE_YES -  time -= OBJ2THREAD(Pike_interpreter.thread_id)->auto_gc_time; +  time -= Pike_interpreter.thread_state->auto_gc_time;   #elif CPU_TIME_IS_THREAD_LOCAL == PIKE_NO    time -= auto_gc_time;   #endif