[D-runtime] core.atomic

Alex Rønne Petersen xtzgzorex at gmail.com
Mon Jul 9 02:53:20 PDT 2012


On Mon, Jul 9, 2012 at 11:34 AM, Walter Bright <walter at digitalmars.com> wrote:
> The latest crashes on unittests on my windows box. The 2.059 one works.

What exactly is failing? I'm almost certain it's the new atomicFence()
function[1] blowing up, but need more info.

The 32-bit version of it is rather complicated because it has to query
the CPU for SSE2 support. I wrote it for cdecl on POSIX and it seems
to work there, but something must be awry with the D calling
convention on Windows... Do you spot anything obviously wrong?

Regards,
Alex

[1] https://github.com/D-Programming-Language/druntime/blob/master/src/core/atomic.d#L585


More information about the D-runtime mailing list