diff src/core/ngx_slab.h @ 966:715336c243e1

many bug fixes and ngx_slab_alloc_locked()/ngx_slab_free_locked()
author Igor Sysoev <igor@sysoev.ru>
date Tue, 02 Jan 2007 23:10:42 +0000
parents 201d017ea470
children 2bce3f6416c6
line wrap: on
line diff
--- 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_ */