- Use portable interlocked functions in code, define them to intrinsics for x86 and x64 in the header

svn path=/branches/cmake-bringup/; revision=49680
This commit is contained in:
Timo Kreuzer 2010-11-21 10:05:20 +00:00
parent 0b8509a565
commit 45a06d507a
8 changed files with 56 additions and 48 deletions

View file

@ -372,7 +372,7 @@ static struct timer_queue *get_timer_queue(HANDLE TimerQueue)
NTSTATUS status = RtlCreateTimerQueue(&q);
if (status == STATUS_SUCCESS)
{
PVOID p = _InterlockedCompareExchangePointer(
PVOID p = InterlockedCompareExchangePointer(
(void **) &default_timer_queue, q, NULL);
if (p)
/* Got beat to the punch. */