From 0efd4dfe214fe80209232dd460ea6d37e4c30cdb Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Mon, 3 Sep 2012 10:25:21 -0400 Subject: [PATCH] ck_epoch: Update comment to reflect my findings. --- src/ck_epoch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ck_epoch.c b/src/ck_epoch.c index 13da8cc..cfdf822 100644 --- a/src/ck_epoch.c +++ b/src/ck_epoch.c @@ -38,8 +38,8 @@ #include /* - * Only three distinct epoch values are needed. If any thread is in - * a "critical section" then it would have acquired some snapshot (e) + * Four rather than three distinct values are used for reclamation. + * Any thread in a "critical section" would have acquired some snapshot (e) * of the global epoch value (e_g) and set an active flag. Any hazardous * references will only occur after a full memory barrier. For example, * assume an initial e_g value of 1, e value of 0 and active value of 0.