From c33efcd10a7f31566d77188f5b104469bb5d766c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 2 Jan 2007 23:10:42 +0000 Subject: many bug fixes and ngx_slab_alloc_locked()/ngx_slab_free_locked() --- src/core/ngx_slab.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/ngx_slab.h') 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_ */ -- cgit