[vlc-devel] [vlc-commits] commit: Atomic operations (currently same ones as in garbage collector) ( Rémi Denis-Courmont )
jb at videolan.org
Tue Jun 29 01:21:40 CEST 2010
On Mon, Jun 28, 2010 at 01:31:55AM +0200, git at videolan.org wrote :
> +uintptr_t vlc_atomic_add (vlc_atomic_t *atom, uintptr_t v)
> +#if defined (WIN64)
> + return InterlockedAdd64 (&atom->s, v);
> + return InterlockedAdd (&atom->s, v);
Aren't those only defined in Itanium ? At least MSDN seems to say so.
Souldn't we use InterlockedExchangeAdd and InterlockedExchangeAdd64 ?
More information about the vlc-devel