about summary refs log tree commit homepage
path: root/doc/queues.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/queues.txt')
-rw-r--r--doc/queues.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/queues.txt b/doc/queues.txt
index d1de9da..fe8c3bb 100644
--- a/doc/queues.txt
+++ b/doc/queues.txt
@@ -50,8 +50,9 @@ This is either an epoll(2) or kqueue(2) descriptor.  Unlike traditional
 poll(2)/select(2), epoll/kqueue easily allows clients to migrate between
 threads as client sockets become ready.
 
-To implement queue-like behavior, we rely exclusively on one-shot
-notifications (EPOLLONESHOT or EV_ONESHOT).
+To implement this behavior, we rely exclusively on one-shot notifications
+(EPOLLONESHOT or EV_ONESHOT) and only retrieve one event at-a-time with
+epoll_wait or kqueue to avoid head-of-line blocking.
 
 active queue
 ============