summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_thread.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-09-22 16:42:42 +0300
committerValentin Bartenev <vbart@nginx.com>2017-09-22 16:42:42 +0300
commit45c1d41f34031c26344832f92837f08c0dbfba04 (patch)
tree13dcfc887eb020a59b9d8090bfa70e66858d97ea /src/nxt_thread.h
parent6a78aedb7e6eef061bec4fc406fe930154b128fe (diff)
downloadunit-45c1d41f34031c26344832f92837f08c0dbfba04.tar.gz
unit-45c1d41f34031c26344832f92837f08c0dbfba04.tar.bz2
Removed fibers from compilation.
It's not used anyway, but breaks building with musl. This closes issue #5 on GitHub.
Diffstat (limited to 'src/nxt_thread.h')
-rw-r--r--src/nxt_thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_thread.h b/src/nxt_thread.h
index 4a71a5a1..2ebc331d 100644
--- a/src/nxt_thread.h
+++ b/src/nxt_thread.h
@@ -159,11 +159,13 @@ struct nxt_thread_s {
nxt_event_engine_t *engine;
void *data;
+#if 0
/*
* Although pointer to a current fiber should be a property of
* engine->fibers, its placement here eliminates 2 memory accesses.
*/
nxt_fiber_t *fiber;
+#endif
nxt_random_t random;
};