changeset 2071:2d216377146a

fix comment
author Igor Sysoev <igor@sysoev.ru>
date Mon, 30 Jun 2008 12:12:16 +0000
parents 92402cc8b3cf
children ee2fecdfdef7
files src/core/ngx_open_file_cache.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/ngx_open_file_cache.c
+++ b/src/core/ngx_open_file_cache.c
@@ -572,9 +572,10 @@ ngx_open_file_add_event(ngx_open_file_ca
     }
 
     /*
-     * we do not file->use_event here because there may be a race
-     * condition between opening file and adding event, so we rely
-     * upon event notification only after first file revalidation
+     * we do not set file->use_event here because there may be a race
+     * condition: a file may be deleted between opening the file and
+     * adding event, so we rely upon event notification only after
+     * one file revalidation on next file access
      */
 
     return;