Mercurial > hg > nginx
comparison src/core/ngx_open_file_cache.h @ 1775:108576aef610
several fixes:
*) do not add event if file was used less than min_uses
*) do not rely upon event to avoid race conditions
*) ngx_open_file_lookup()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Dec 2007 10:46:40 +0000 |
parents | 25c93614e6b9 |
children | ee2fecdfdef7 |
comparison
equal
deleted
inserted
replaced
1774:68d21fd1dc64 | 1775:108576aef610 |
---|---|
52 | 52 |
53 uint32_t uses; | 53 uint32_t uses; |
54 | 54 |
55 unsigned count:24; | 55 unsigned count:24; |
56 unsigned close:1; | 56 unsigned close:1; |
57 unsigned use_event:1; | |
57 | 58 |
58 unsigned is_dir:1; | 59 unsigned is_dir:1; |
59 unsigned is_file:1; | 60 unsigned is_file:1; |
60 unsigned is_link:1; | 61 unsigned is_link:1; |
61 unsigned is_exec:1; | 62 unsigned is_exec:1; |