pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-04-13
2000-04-13 19:03:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>
865dc25c251008f66c4a44aca70449e874ea8207 (
26
lines) (+
14
/-
12
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed thread-bug in sleep().
Rev: src/builtin_functions.c:1.256
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
255
2000/04/
12
15
:
14
:
35
grubba Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
256
2000/04/
13
19
:
03
:
04
grubba Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
2517:
double left; /* THREADS_ALLOW may take longer time then POLL_SLEEP_LIMIT */ THREADS_ALLOW();
-
+
do {
FIX_LEFT(); if(left<=0.0) break;
2533:
select(0,0,0,0,&t3); } #endif
+
} while(0);
THREADS_DISALLOW(); FIX_LEFT();