Summary: atomicOp!"+=" hangs with floating point
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime

--- Comment #0 from David Simcha <> 2010-09-01 07:32:14 PDT ---
The following program hangs:

import core.atomic;

void main() {
    float num1 = 1;
    float num2 = 1;
    atomicOp!"+="(num1, num2);

If I change the operation to any other arithmetic operation, or change the
floats to doubles, it still hangs.  If I change num1 and num2 to ints or longs,
it works.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to