summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.c
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_runtime.c
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_runtime.c')
-rw-r--r--src/nxt_runtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c
index ac0775ee..886bd1ca 100644
--- a/src/nxt_runtime.c
+++ b/src/nxt_runtime.c
@@ -292,7 +292,9 @@ nxt_runtime_event_engines(nxt_task_t *task, nxt_runtime_t *rt)
thread = task->thread;
thread->engine = engine;
+#if 0
thread->fiber = &engine->fibers->fiber;
+#endif
engine->id = rt->last_engine_id++;