Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/tscore/ink_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down