Branch: Tag:

2003-03-31

2003-03-31 18:35:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

More thread-related fixes.

Rev: src/threads.c:1.195

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: threads.c,v 1.194 2003/03/31 18:31:03 grubba Exp $ + || $Id: threads.c,v 1.195 2003/03/31 18:35:47 grubba Exp $   */      #include "global.h" - RCSID("$Id: threads.c,v 1.194 2003/03/31 18:31:03 grubba Exp $"); + RCSID("$Id: threads.c,v 1.195 2003/03/31 18:35:47 grubba Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
722:    Pike_interpreter.stack_top=((char *)&data)+ (thread_stack_size-16384) * STACK_DIRECTION;    Pike_interpreter.recoveries = NULL;    SWAP_OUT_THREAD(OBJ2THREAD(Pike_interpreter.thread_id)); /* Init struct */ +  Pike_interpreter.thread_id=arg.id;    OBJ2THREAD(Pike_interpreter.thread_id)->swapped=0;      #if defined(PIKE_DEBUG)