http://d.puremagic.com/issues/show_bug.cgi?id=4782
Summary: atomicOp!"+=" hangs with floating point Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: s...@invisibleduck.org ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------