summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_unit.h')
-rw-r--r--src/nxt_unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_unit.h b/src/nxt_unit.h
index 52f9bc27..303d5aa1 100644
--- a/src/nxt_unit.h
+++ b/src/nxt_unit.h
@@ -210,6 +210,8 @@ int nxt_unit_run_ctx(nxt_unit_ctx_t *ctx);
int nxt_unit_run_shared(nxt_unit_ctx_t *ctx);
+int nxt_unit_is_main_ctx(nxt_unit_ctx_t *ctx);
+
/*
* Receive and process one message, invoke configured callbacks.
*