pike.git/
src/
threads.c
Branch:
Tag:
Non-build tags
All tags
No tags
2002-06-17
2002-06-17 15:44:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>
00394349dab0867c783d187783b3f8571afdd084 (
7
lines) (+
5
/-
2
)
[
Show
|
Annotate
]
Branch:
7.2
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)); }