summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.c
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-10-31 15:51:51 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-10-31 15:51:51 +0300
commitc838c3bd1580735e8020687f94e6307f13aba156 (patch)
treed88247c68c70ec4770d76037bd5fefcb836754ac /src/nxt_unit.c
parent3b0afb16814353a5d34a7384f4e84e9c17f3fb8e (diff)
downloadunit-c838c3bd1580735e8020687f94e6307f13aba156.tar.gz
unit-c838c3bd1580735e8020687f94e6307f13aba156.tar.bz2
Node.js: added async request execution.
Diffstat (limited to '')
-rw-r--r--src/nxt_unit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nxt_unit.c b/src/nxt_unit.c
index 0d1be557..24e51075 100644
--- a/src/nxt_unit.c
+++ b/src/nxt_unit.c
@@ -74,7 +74,6 @@ static nxt_unit_process_t *nxt_unit_process_get(nxt_unit_ctx_t *ctx,
static nxt_unit_process_t *nxt_unit_process_find(nxt_unit_ctx_t *ctx,
pid_t pid, int remove);
static nxt_unit_process_t *nxt_unit_process_pop_first(nxt_unit_impl_t *lib);
-static int nxt_unit_run_once(nxt_unit_ctx_t *ctx);
static int nxt_unit_create_port(nxt_unit_ctx_t *ctx,
nxt_unit_port_id_t *port_id, int *fd);
@@ -2697,7 +2696,7 @@ nxt_unit_run(nxt_unit_ctx_t *ctx)
}
-static int
+int
nxt_unit_run_once(nxt_unit_ctx_t *ctx)
{
int rc;