Branch: Tag:

2002-06-17

2002-06-17 15:44:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 3097 (#3097)].

Rev: src/threads.c:1.162

1:   #include "global.h" - RCSID("$Id: threads.c,v 1.161 2002/01/24 16:42:20 grubba Exp $"); + RCSID("$Id: threads.c,v 1.162 2002/06/17 15:44:13 grubba Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
527:    for(x=0; x<THREAD_TABLE_SIZE; x++)    for(s=thread_table_chains[x]; s; s=s->hashlink) {    struct object *o = THREADSTATE2OBJ(s); +  if (o) {    ref_push_object(o);    } -  +  }    mt_unlock( & thread_table_lock );    f_aggregate(DO_NOT_WARN(Pike_sp - oldsp));   }