summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.h
blob: ce40455ef382e1eac0c8e2073b8a25d8c6f8e439 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) NGINX, Inc.
 */

#ifndef _NXT_UNIX_MASTER_PROCESS_H_INCLUDED_
#define _NXT_UNIX_MASTER_PROCESS_H_INCLUDED_


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);


extern const nxt_event_sig_t  nxt_master_process_signals[];


#endif /* _NXT_UNIX_MASTER_PROCESS_H_INCLUDED_ */