summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-29 02:59:35 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-29 02:59:35 +0300
commit9d487df10df5000a84c9c1a75fff0cff525d4454 (patch)
tree68096193339f4a25bfac7d79f5c0a218f74bec7b /src/nxt_runtime.h
parent946867febe29568418bfa146518ff7f97072dd67 (diff)
downloadunit-9d487df10df5000a84c9c1a75fff0cff525d4454.tar.gz
unit-9d487df10df5000a84c9c1a75fff0cff525d4454.tar.bz2
The master process has been renamed to the main process.
Diffstat (limited to 'src/nxt_runtime.h')
-rw-r--r--src/nxt_runtime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_runtime.h b/src/nxt_runtime.h
index f6d6aa53..b491002e 100644
--- a/src/nxt_runtime.h
+++ b/src/nxt_runtime.h
@@ -49,7 +49,7 @@ struct nxt_runtime_s {
uint8_t daemon;
uint8_t batch;
- uint8_t master_process;
+ uint8_t main_process;
const char *engine;
uint32_t engine_connections;
uint32_t auxiliary_threads;
@@ -89,9 +89,9 @@ nxt_runtime_is_type(nxt_runtime_t *rt, nxt_process_type_t type)
nxt_inline nxt_bool_t
-nxt_runtime_is_master(nxt_runtime_t *rt)
+nxt_runtime_is_main(nxt_runtime_t *rt)
{
- return nxt_runtime_is_type(rt, NXT_PROCESS_MASTER);
+ return nxt_runtime_is_type(rt, NXT_PROCESS_MAIN);
}