pike.git/
src/
threads.c
Branch:
Tag:
Non-build tags
All tags
No tags
1997-09-08
1997-09-08 19:58:42 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
852ce92ebfbc788e5ad4b71ef9d538766e7621fa (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix
Rev: src/threads.c:1.37
1:
#include "global.h"
-
RCSID("$Id: threads.c,v 1.
36
1997/09/08 19:
36
:
53
hubbe Exp $");
+
RCSID("$Id: threads.c,v 1.
37
1997/09/08 19:
58
:
42
hubbe Exp $");
int num_threads = 1; int threads_disabled = 0;
187:
* might use threads. */ o=clone_object(mutex_key,0);
-
if(!args
&&
IS_ZERO(sp-args))
+
if(!args
||
IS_ZERO(sp-args))
{ if(m->key && OB2KEY(m->key)->owner == thread_id) {