Removed fibers from compilation.

It's not used anyway, but breaks building with musl.

This closes issue #5 on GitHub.
This commit is contained in:
Valentin Bartenev
2017-09-22 16:42:42 +03:00
parent 6a78aedb7e
commit 45c1d41f34
7 changed files with 22 additions and 7 deletions

View File

@@ -48,12 +48,14 @@ nxt_event_engine_create(nxt_task_t *task,
engine->batch = batch;
#if 0
if (flags & NXT_ENGINE_FIBERS) {
engine->fibers = nxt_fiber_main_create(engine);
if (engine->fibers == NULL) {
goto fibers_fail;
}
}
#endif
engine->current_work_queue = &engine->fast_work_queue;
@@ -138,9 +140,12 @@ signals_fail:
nxt_work_queue_cache_destroy(&engine->work_queue_cache);
nxt_free(engine->fibers);
#if 0
fibers_fail:
nxt_free(engine);
#endif
return NULL;
}