Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
f0746df9
Commit
f0746df9
authored
Sep 19, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OS/X does not have CLOCK_MONOTONIC, use CLOCK_REALTIME and hope nobody
steps the clock... Fixes #1022
parent
bc1d749a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cache_pool.c
bin/varnishd/cache_pool.c
+4
-0
No files found.
bin/varnishd/cache_pool.c
View file @
f0746df9
...
...
@@ -58,6 +58,10 @@
#include "stevedore.h"
#include "hash_slinger.h"
#ifndef CLOCK_MONOTONIC
#define CLOCK_MONOTONIC CLOCK_REALTIME
/* OS/X is silly */
#endif
static
void
*
waiter_priv
;
VTAILQ_HEAD
(
workerhead
,
worker
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment