Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
965:2e3754f37606 | 966:715336c243e1 |
---|---|
37 } ngx_slab_pool_t; | 37 } ngx_slab_pool_t; |
38 | 38 |
39 | 39 |
40 void ngx_slab_init(ngx_slab_pool_t *pool); | 40 void ngx_slab_init(ngx_slab_pool_t *pool); |
41 void *ngx_slab_alloc(ngx_slab_pool_t *pool, size_t size); | 41 void *ngx_slab_alloc(ngx_slab_pool_t *pool, size_t size); |
42 void *ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size); | |
42 void ngx_slab_free(ngx_slab_pool_t *pool, void *p); | 43 void ngx_slab_free(ngx_slab_pool_t *pool, void *p); |
44 void ngx_slab_free_locked(ngx_slab_pool_t *pool, void *p); | |
43 | 45 |
44 | 46 |
45 #endif /* _NGX_SLAB_H_INCLUDED_ */ | 47 #endif /* _NGX_SLAB_H_INCLUDED_ */ |