pike.git/
src/
threads.c
Branch:
Tag:
Non-build tags
All tags
No tags
1998-03-20
1998-03-20 22:53:31 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
e45f66889203cfbbbeac9ec69944889dc6ad6d1a (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
#ifdef DEBUG added at one point
Rev: src/threads.c:1.61
1:
#include "global.h"
-
RCSID("$Id: threads.c,v 1.
60
1998/03/
18
20
:
22:
32
per
Exp $");
+
RCSID("$Id: threads.c,v 1.
61
1998/03/
20
22:
53:31
hubbe
Exp $");
int num_threads = 1; int threads_disabled = 0;
775:
set_exit_callback(exit_mutex_key_obj); mutex_key=end_program(); mutex_key->flags|=PROGRAM_DESTRUCT_IMMEDIATE;
+
#ifdef DEBUG
if(!mutex_key) fatal("Failed to initialize mutex_key program!\n");
-
+
#endif
start_new_program(); add_storage(sizeof(COND_T));