[sgen] Fix call to `InterlockedCompareExchange()`.
authorMark Probst <mark.probst@gmail.com>
Tue, 27 Oct 2015 17:54:40 +0000 (10:54 -0700)
committerMark Probst <mark.probst@gmail.com>
Tue, 27 Oct 2015 17:56:03 +0000 (10:56 -0700)
commit7f84c3c9e7dbf862f98d0fa13d888a9bf6a954e5
treefaf5fc0df9e4bd681a17244b17b2e588f500e61c
parent0bebfa7eba99151a670e87ae0dbf8dca3ec8694f
[sgen] Fix call to `InterlockedCompareExchange()`.

This fixes random crashes on `sgen-weakref-stress.exe`.
mono/sgen/sgen-gchandles.c