www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4769] New: Unary atomics

http://d.puremagic.com/issues/show_bug.cgi?id=4769

           Summary: Unary atomics
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
        AssignedTo: sean invisibleduck.org
        ReportedBy: dsimcha yahoo.com



core.atomic should provide a way to do perform unary atomic operations on
variables to the greatest extent practical.  The obvious candidates are:

atomicOp!"++"(var);
atomicOp!"--"(var);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 30 2010