diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-02-22 14:40:13 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-02-22 14:40:13 +0000 |
commit | d039a2e193c9172e4f415b9304222e81804a69d0 (patch) | |
tree | 4571d4da7950e9464e788a4d68dc5111167de52c /src/os/unix/ngx_process.h | |
parent | 174db74f2309e28c0e2b54e89b9e08afff187c7c (diff) | |
download | nginx-d039a2e193c9172e4f415b9304222e81804a69d0.tar.gz nginx-d039a2e193c9172e4f415b9304222e81804a69d0.zip |
nginx-0.1.21-RELEASE importrelease-0.1.21
*) Bugfix: the ngx_http_stub_status_module showed incorrect statistics
if "rtsig" method was used or if several worker process ran on SMP.
*) Bugfix: nginx could not be built by the icc compiler on Linux or if
the zlib-1.2.x library was building from sources.
*) Bugfix: nginx could not be built on NetBSD 2.0.
Diffstat (limited to 'src/os/unix/ngx_process.h')
-rw-r--r-- | src/os/unix/ngx_process.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h index 12703b3e3..995e93ce2 100644 --- a/src/os/unix/ngx_process.h +++ b/src/os/unix/ngx_process.h @@ -49,8 +49,7 @@ typedef struct { #define ngx_log_pid ngx_pid ngx_pid_t ngx_spawn_process(ngx_cycle_t *cycle, - ngx_spawn_proc_pt proc, void *data, - char *name, ngx_int_t respawn); + ngx_spawn_proc_pt proc, void *data, char *name, ngx_int_t respawn); ngx_pid_t ngx_execute(ngx_cycle_t *cycle, ngx_exec_ctx_t *ctx); void ngx_process_get_status(void); void ngx_debug_point(void); @@ -63,6 +62,12 @@ void ngx_debug_point(void); #endif +#if !defined(ngx_setproctitle) +ngx_int_t ngx_init_setproctitle(ngx_log_t *log); +void ngx_setproctitle(char *title); +#endif + + extern int ngx_argc; extern char **ngx_argv; extern char **ngx_os_argv; |