diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-06-30 08:29:29 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-06-30 08:29:29 +0400 |
commit | b97678f066dd9dfb32409c61028080ac14efb1eb (patch) | |
tree | 8a215c41b6b8518b24b13a393ce435dd6c29d18d /sql/my_apc.h | |
parent | 00ff7345fa10fc0de924b7c2acd3ea9ea4cf50aa (diff) | |
download | mariadb-git-b97678f066dd9dfb32409c61028080ac14efb1eb.tar.gz |
Better comments
Diffstat (limited to 'sql/my_apc.h')
-rw-r--r-- | sql/my_apc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/my_apc.h b/sql/my_apc.h index 160c19b6353..93b934c9df1 100644 --- a/sql/my_apc.h +++ b/sql/my_apc.h @@ -80,7 +80,9 @@ private: /* Circular, double-linked list of all enqueued call requests. We use this structure, because we - - process requests sequentially (i.e. they are removed from the front) + - process requests sequentially: requests are added at the end of the + list and removed from the front. With circular list, we can keep one + pointer. - a thread that has posted a request may time out (or be KILLed) and cancel the request, which means we need a fast request-removal operation. |