pike.git/
src/
threads.c
Branch:
Tag:
Non-build tags
All tags
No tags
1997-02-11
1997-02-11 13:27:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>
b98eb3297c53c8a03967a13e2f24af464bd3fe99 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Added flags=0 to end_class() calls.
Rev: src/threads.c:1.17
1:
#include "global.h"
-
RCSID("$Id: threads.c,v 1.
16
1997/02/
07
01
:
37
:
49
hubbe
Exp $");
+
RCSID("$Id: threads.c,v 1.
17
1997/02/
11
13
:
27
:
11
grubba
Exp $");
int num_threads = 1; int threads_disabled = 0;
341:
add_function("trylock",f_mutex_trylock,"function(:object)",0); set_init_callback(init_mutex_obj); set_exit_callback(exit_mutex_obj);
-
end_class("mutex");
+
end_class("mutex"
, 0
);
start_new_program(); add_storage(sizeof(struct key_storage));
356:
add_function("broadcast",f_cond_broadcast,"function(:void)",0); set_init_callback(init_cond_obj); set_exit_callback(exit_cond_obj);
-
end_class("condition");
+
end_class("condition"
, 0
);
start_new_program(); thread_id_prog=end_program();