pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-12-09
1999-12-09 01:53:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c4a8b10634f427b352146c9a3d540a662ca8c336 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
f_sleep() now releases the interpreter lock again.
Rev: src/builtin_functions.c:1.221
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
220
1999/12/
08
21
:
19
:
21
grubba Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
221
1999/12/
09
01
:
53
:
56
grubba Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
2238:
pop_n_elems(args);
+
THREADS_ALLOW();
+
if (delay>POLL_SLEEP_LIMIT) for (;;) {
2262:
if (do_microsleep) while (delay>TIME_ELAPSED) GET_TIME_ELAPSED;
+
+
THREADS_DISALLOW();
} void f_gc(INT32 args)