diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-01-08 11:47:17 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-01-08 11:47:17 +0300 |
commit | 3d58f8c29bd156dcb34040f50b7203cc0ba8e2cc (patch) | |
tree | 211ff0f4cb5ddbf547b3322b8f81a5234928168b /src/os/unix/ngx_process.c | |
parent | a9030ebcca7aff99c2a9d90ea702ad7f74a50941 (diff) |
nginx-0.0.1-2004-01-08-11:47:17 import
Diffstat (limited to 'src/os/unix/ngx_process.c')
-rw-r--r-- | src/os/unix/ngx_process.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c index e50040820..e9de91e16 100644 --- a/src/os/unix/ngx_process.c +++ b/src/os/unix/ngx_process.c @@ -8,6 +8,14 @@ static void ngx_exec_proc(ngx_cycle_t *cycle, void *data); ngx_uint_t ngx_last_process; ngx_process_t ngx_processes[NGX_MAX_PROCESSES]; +sigset_t ngx_sigmask; + + +void ngx_wait_events() +{ + sigsuspend(&ngx_sigmask); +} + ngx_int_t ngx_spawn_process(ngx_cycle_t *cycle, ngx_spawn_proc_pt proc, void *data, |