diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-01-23 19:56:03 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-01-23 19:56:03 +0300 |
commit | de532922d9ab42aa15b40d47c8db53ac2af38500 (patch) | |
tree | d6b7c6b21c7a6e0e3620a3e0c7198e63454d05e3 /src/nxt_master_process.h | |
parent | 16cbf3c076a0aca6d47adaf3f719493674cf2363 (diff) | |
download | unit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.gz unit-de532922d9ab42aa15b40d47c8db53ac2af38500.tar.bz2 |
Introducing tasks.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_master_process.h | 5 |
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); |