diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-01-03 02:10:42 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-01-03 02:10:42 +0300 |
commit | c33efcd10a7f31566d77188f5b104469bb5d766c (patch) | |
tree | 240ec3382873f937ab07daa343ace316dcf865da /src/core/ngx_slab.h | |
parent | dcec2fa8c90e0d169bcc12362acc0a78f545b31f (diff) |
many bug fixes and ngx_slab_alloc_locked()/ngx_slab_free_locked()
Diffstat (limited to 'src/core/ngx_slab.h')
-rw-r--r-- | src/core/ngx_slab.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_slab.h b/src/core/ngx_slab.h index ea9e0ea25..5bdacaf1b 100644 --- a/src/core/ngx_slab.h +++ b/src/core/ngx_slab.h @@ -39,7 +39,9 @@ typedef struct { void ngx_slab_init(ngx_slab_pool_t *pool); void *ngx_slab_alloc(ngx_slab_pool_t *pool, size_t size); +void *ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size); void ngx_slab_free(ngx_slab_pool_t *pool, void *p); +void ngx_slab_free_locked(ngx_slab_pool_t *pool, void *p); #endif /* _NGX_SLAB_H_INCLUDED_ */ |