mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 09:43:40 +00:00
[RTL]
- 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:
parent
0b8509a565
commit
45a06d507a
8 changed files with 56 additions and 48 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue