Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-06-30 16:12:16 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-06-30 16:12:16 +0400
commitc3584fec61fff2275bae50f336908f5dbec8264e (patch)
tree5212559628de2c3e8df1cc259a0d49d6fcff8325 /src
parentbf934762728d54181f57497328cd4f0c7914df50 (diff)
fix comment
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_open_file_cache.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c
index 68121dc18..bf8f0de12 100644
--- 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_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;