diff --git a/src/threads.c b/src/threads.c index 3f3983a0c9a61885d1271bbd0c9bdc3a96d44218..9f8673727be2edca9fe6a9ecbd1f8e5bd04d653f 100644 --- a/src/threads.c +++ b/src/threads.c @@ -1,5 +1,5 @@ #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,8 +775,10 @@ void th_init(void) 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));