pike.git/
src/
threads.c
Branch:
Tag:
Non-build tags
All tags
No tags
1997-09-03
1997-09-03 03:39:58 by Per Hedbor <ph@opera.com>
368d4a0d0a14559cf1c29a012bd52596d890b3c4 (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added error message for bogus key objects to threads.c
Rev: src/threads.c:1.29
1:
#include "global.h"
-
RCSID("$Id: threads.c,v 1.
28
1997/09/
02
22
:
18
:
07
grubba
Exp $");
+
RCSID("$Id: threads.c,v 1.
29
1997/09/
03
03
:
39
:
58
per
Exp $");
int num_threads = 1; int threads_disabled = 0;
324:
mt_lock(&mutex_kluge); mut=OB2KEY(key)->mut;
+
if(!mut)
+
error("Bad argument 1 to condition->wait()\n");
+
THREADS_ALLOW(); /* Unlock mutex */