Mercurial > hg > nginx-mail
comparison src/core/ngx_slab.h @ 507:56baf312c1b5 NGINX_0_7_46
nginx 0.7.46
*) Bugfix: the previous release tarball was incorrect.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Mar 2009 00:00:00 +0400 |
parents | 29a6403156b0 |
children | 549994537f15 |
comparison
equal
deleted
inserted
replaced
506:d46142e61c30 | 507:56baf312c1b5 |
---|---|
32 | 32 |
33 u_char *start; | 33 u_char *start; |
34 u_char *end; | 34 u_char *end; |
35 | 35 |
36 ngx_shmtx_t mutex; | 36 ngx_shmtx_t mutex; |
37 | |
38 u_char *log_ctx; | |
39 u_char zero; | |
37 } ngx_slab_pool_t; | 40 } ngx_slab_pool_t; |
38 | 41 |
39 | 42 |
40 void ngx_slab_init(ngx_slab_pool_t *pool); | 43 void ngx_slab_init(ngx_slab_pool_t *pool); |
41 void *ngx_slab_alloc(ngx_slab_pool_t *pool, size_t size); | 44 void *ngx_slab_alloc(ngx_slab_pool_t *pool, size_t size); |