<< |
>>
#7579 Dodano: 25-09-2014 14:59. Głosów: 80
i32 AaCpuAtomicSwap32(TAaCpuAtomic32* atomic, i32 value)
{
i32 prev;
/** @todo Implement to be really atomic operation */
prev = atomic->data;
atomic->data = value;
return prev;
} /* AaCpuAtomicCmpSwap32 */
<< |
>>
{
i32 prev;
/** @todo Implement to be really atomic operation */
prev = atomic->data;
atomic->data = value;
return prev;
} /* AaCpuAtomicCmpSwap32 */