Mercurial > hg > nginx
diff src/os/unix/ngx_shmem.h @ 2720:b3b8c66bd520
support attaching to an existent Win32 shared memory
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 18 Apr 2009 19:27:28 +0000 |
parents | d5896f6608e8 |
children | d620f497c50f |
line wrap: on
line diff
--- a/src/os/unix/ngx_shmem.h Sat Apr 18 19:13:53 2009 +0000 +++ b/src/os/unix/ngx_shmem.h Sat Apr 18 19:27:28 2009 +0000 @@ -13,10 +13,11 @@ typedef struct { - u_char *addr; - size_t size; - ngx_str_t name; - ngx_log_t *log; + u_char *addr; + size_t size; + ngx_str_t name; + ngx_log_t *log; + ngx_uint_t exists; /* unsigned exists:1; */ } ngx_shm_t;