pike.git/
src/
threads.c
Branch:
Tag:
Non-build tags
All tags
No tags
2012-01-06
2012-01-06 18:00:59 by 0
c679ec3aac8a24ff535af4c3f4daf7b8e2ecf99c (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Fix OS X compile error after introduction of ACCURATE_GETTIMEOFDAY.
1501:
preliminary check that at least 35 ms real time has passed. If not yet true we'll postpone the next check a full interval. */ struct timeval tv;
-
if (
ACCURATE_GETTIMEOFDAY(&tv)
==
0)
{
+
ACCURATE_GETTIMEOFDAY(&tv)
;
+
{
#ifdef INT64 static INT64 real_time_last_check = 0; INT64 real_time_now = tv.tv_sec * 1000000 + tv.tv_usec;