From f96b3eb9a97aad8e6d1a9d6f156187f4ef4e8c3a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 19 Mar 2023 20:12:26 -0400 Subject: [PATCH] spelling: accidentally Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/segment.c b/src/segment.c index dc98e3e7..60c10f66 100644 --- a/src/segment.c +++ b/src/segment.c @@ -1048,7 +1048,7 @@ We maintain a global list of abandoned segments that are reclaimed on demand. Since this is shared among threads the implementation needs to avoid the A-B-A problem on popping abandoned segments: -We use tagged pointers to avoid accidentially identifying +We use tagged pointers to avoid accidentally identifying reused segments, much like stamped references in Java. Secondly, we maintain a reader counter to avoid resetting or decommitting segments that have a pending read operation.