comparison src/core/ngx_open_file_cache.c @ 2071:2d216377146a

fix comment
author Igor Sysoev <igor@sysoev.ru>
date Mon, 30 Jun 2008 12:12:16 +0000
parents 92402cc8b3cf
children ee2fecdfdef7
comparison
equal deleted inserted replaced
2070:92402cc8b3cf 2071:2d216377146a
570 file->event = NULL; 570 file->event = NULL;
571 return; 571 return;
572 } 572 }
573 573
574 /* 574 /*
575 * we do not file->use_event here because there may be a race 575 * we do not set file->use_event here because there may be a race
576 * condition between opening file and adding event, so we rely 576 * condition: a file may be deleted between opening the file and
577 * upon event notification only after first file revalidation 577 * adding event, so we rely upon event notification only after
578 * one file revalidation on next file access
578 */ 579 */
579 580
580 return; 581 return;
581 } 582 }
582 583