pike.git/
src/
program.c
Branch:
Tag:
Non-build tags
All tags
No tags
1998-04-27
1998-04-27 19:41:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>
926b277c482e606aabb5f664f11b9ecb174318e3 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
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;