Branch: Tag:

1998-04-27

1998-04-27 19:41:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now works on OS's where co_broadcast() != co_signal().

Rev: src/program.c:1.88

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: program.c,v 1.87 1998/04/24 00:32:09 hubbe Exp $"); + RCSID("$Id: program.c,v 1.88 1998/04/27 19:41:09 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
943:       compilation_depth--;    if(!--threads_disabled) -  co_signal(&threads_disabled_change); +  co_broadcast(&threads_disabled_change);       /* fprintf(stderr, "end_first_pass(): compilation_depth:%d\n", compilation_depth); */   
2188:    threads_disabled = saved_threads_disabled;    /* fprintf(stderr, "compile() Leave: threads_disabled:%d, compilation_depth:%d\n", threads_disabled, compilation_depth); */    if(!threads_disabled) -  co_signal(&threads_disabled_change); +  co_broadcast(&threads_disabled_change);       free_string(lex.current_file);    lex=save_lex;