comparison src/core/ngx_palloc.h @ 2920:cb7d05c097db

do not test a pool block space if we can not allocated from the block 4 times
author Igor Sysoev <igor@sysoev.ru>
date Fri, 05 Jun 2009 13:27:12 +0000
parents 3a8a53c0c42f
children d788521e4b0e
comparison
equal deleted inserted replaced
2919:41e7d9153967 2920:cb7d05c097db
44 44
45 typedef struct { 45 typedef struct {
46 u_char *last; 46 u_char *last;
47 u_char *end; 47 u_char *end;
48 ngx_pool_t *next; 48 ngx_pool_t *next;
49 ngx_uint_t failed;
49 } ngx_pool_data_t; 50 } ngx_pool_data_t;
50 51
51 52
52 struct ngx_pool_s { 53 struct ngx_pool_s {
53 ngx_pool_data_t d; 54 ngx_pool_data_t d;