]> git.kaiwu.me - nginx.git/commitdiff
add comment
authorIgor Sysoev <igor@sysoev.ru>
Sat, 1 Sep 2007 11:21:00 +0000 (11:21 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sat, 1 Sep 2007 11:21:00 +0000 (11:21 +0000)
src/event/ngx_event.h

index f16b2f199dd6ee2fb5a65f55619a765eb93f3008..059a952299e66c001f2902f366f13ad2de486872 100644 (file)
@@ -303,8 +303,12 @@ extern ngx_event_actions_t   ngx_event_actions;
  * /dev/poll:                        we need to flush POLLREMOVE event
  *                                   before closing file.
  */
-
 #define NGX_CLOSE_EVENT    1
+
+/*
+ * disable temporarily event filter, this may avoid locks
+ * in kernel malloc()/free(): kqueue.
+ */
 #define NGX_DISABLE_EVENT  2