Hello Alexandre,
Alexandre Julliard wrote:
Maarten Lankhorst writes:
---
Fix the definitions in winbase.h, and the inline assembly :)
There are still several problems with your assembly, and I don't
understand why you want to reinvent the wheel when we have a perfectly
fine interloc
Maarten Lankhorst writes:
> ---
> Fix the definitions in winbase.h, and the inline assembly :)
There are still several problems with your assembly, and I don't
understand why you want to reinvent the wheel when we have a perfectly
fine interlocked_cmpxchg64 implementation already.
--
Alexandre
Maarten Lankhorst writes:
> +extern inline LONG WINAPI InterlockedCompareExchange64( LONG64 volatile
> *dest, LONG64 xchg, LONG64 compare );
> +extern inline LONG WINAPI InterlockedCompareExchange64( LONG64 volatile
> *dest, LONG64 xchg, LONG64 compare )
> +{
> +LONG64 ret;
> +__asm__ _