summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-23 19:56:03 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-23 19:56:03 +0300
commitde532922d9ab42aa15b40d47c8db53ac2af38500 (patch)
treed6b7c6b21c7a6e0e3620a3e0c7198e63454d05e3 /src/nxt_master_process.h
parent16cbf3c076a0aca6d47adaf3f719493674cf2363 (diff)
downloadunit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.gz
unit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.bz2
Introducing tasks.
Diffstat (limited to 'src/nxt_master_process.h')
-rw-r--r--src/nxt_master_process.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nxt_master_process.h b/src/nxt_master_process.h
index 8018c6b8..ce40455e 100644
--- a/src/nxt_master_process.h
+++ b/src/nxt_master_process.h
@@ -8,8 +8,9 @@
#define _NXT_UNIX_MASTER_PROCESS_H_INCLUDED_
-nxt_int_t nxt_master_process_start(nxt_thread_t *thr, nxt_cycle_t *cycle);
-void nxt_master_stop_worker_processes(nxt_cycle_t *cycle);
+nxt_int_t nxt_master_process_start(nxt_thread_t *thr, nxt_task_t *task,
+ nxt_cycle_t *cycle);
+void nxt_master_stop_worker_processes(nxt_task_t *task, nxt_cycle_t *cycle);
void nxt_worker_process_start(void *data);