summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_queue.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-07-05 14:05:21 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-07-05 14:05:21 +0300
commit4fe5d22dcc5d6e42c5faa6fe06dd076cde799324 (patch)
tree91f346ac5380888617f4ed32fa0933445c4bd65a /src/nxt_queue.h
parentd28d502aa5c6982552ce6626088a77f3295465f6 (diff)
downloadunit-4fe5d22dcc5d6e42c5faa6fe06dd076cde799324.tar.gz
unit-4fe5d22dcc5d6e42c5faa6fe06dd076cde799324.tar.bz2
Router: processing JSON configuration.
Diffstat (limited to 'src/nxt_queue.h')
-rw-r--r--src/nxt_queue.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nxt_queue.h b/src/nxt_queue.h
index f1efd328..e107b6aa 100644
--- a/src/nxt_queue.h
+++ b/src/nxt_queue.h
@@ -193,7 +193,11 @@ nxt_queue_truncate(queue, link) \
} while (0)
-/* Add the queue "tail" to the queue "queue". */
+/*
+ * Add the queue "tail" to the queue "queue".
+ * If the queue "tail" is intended to be reused again,
+ * it must be initiated with nxt_queue_init(tail).
+ */
#define \
nxt_queue_add(queue, tail) \