From 54eddd0e83cb30322aa0fee9f9504c9608fc9c75 Mon Sep 17 00:00:00 2001 From: Walter Karas Date: Mon, 7 Dec 2020 13:52:17 -0600 Subject: [PATCH] Add comments to ink_queue.h. --- include/tscore/ink_queue.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/tscore/ink_queue.h b/include/tscore/ink_queue.h index 24f860594fb..d1806bc1413 100644 --- a/include/tscore/ink_queue.h +++ b/include/tscore/ink_queue.h @@ -113,6 +113,9 @@ union head_p { * -> A -> B -> C -> D * If the version check is not there, the list will look like * -> C -> D after the pop, which will result in the loss of "B" + * + * For more information, see: https://en.wikipedia.org/wiki/ABA_problem . + * (Versioning is a case of the "tagged state reference" workaround.) */ #define ZERO_HEAD_P(_x)