]> git.kaiwu.me - nginx.git/commitdiff
fix comment
authorIgor Sysoev <igor@sysoev.ru>
Mon, 30 Jun 2008 12:12:16 +0000 (12:12 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 30 Jun 2008 12:12:16 +0000 (12:12 +0000)
src/core/ngx_open_file_cache.c

index 68121dc180605ebfecc04c41a1e6fc73223c0b87..bf8f0de123d917f5bb7cdb2b85bf402b01a71210 100644 (file)
@@ -572,9 +572,10 @@ ngx_open_file_add_event(ngx_open_file_cache_t *cache,
     }
 
     /*
-     * 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;