[Issue 16352] dead-lock in std.allocator.free_list unittest

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Dec 22 09:17:38 PST 2016


https://issues.dlang.org/show_bug.cgi?id=16352

Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de

--- Comment #8 from Rainer Schuetze <r.sagitario at gmx.de> ---
> SharedFreeList.allocate looks ABA prone:

I agree. The actual pattern to use depends on the hardware, but x86 usually
uses a modification counter modified in lock step.

--


More information about the Digitalmars-d-bugs mailing list