diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-18 19:27:28 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-18 19:27:28 +0000 |
commit | f7a08d5f9ab224c7d3751693c1ba159a5d6d5900 (patch) | |
tree | 09afd5284fde0f9f2b015164f334a81b9a9e00b8 /src/os/unix/ngx_shmem.h | |
parent | 6ac68bcc4c3cbc2711fccbc78d6df3164c6dbde3 (diff) | |
download | nginx-f7a08d5f9ab224c7d3751693c1ba159a5d6d5900.tar.gz nginx-f7a08d5f9ab224c7d3751693c1ba159a5d6d5900.zip |
support attaching to an existent Win32 shared memory
Diffstat (limited to 'src/os/unix/ngx_shmem.h')
-rw-r--r-- | src/os/unix/ngx_shmem.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/os/unix/ngx_shmem.h b/src/os/unix/ngx_shmem.h index d62680252..b5f669701 100644 --- a/src/os/unix/ngx_shmem.h +++ b/src/os/unix/ngx_shmem.h @@ -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; |