Let's take the performance hit (cache flush) on UP and make it work on SMP too. (thanks to Cameron Hutchison)

Original commit message from CVS:
Let's take the performance hit (cache flush) on UP and make it work
on SMP too. (thanks to Cameron Hutchison)
This commit is contained in:
Wim Taymans 2002-09-05 22:21:45 +00:00
parent 16787e78c0
commit 6fc49a76a1

View file

@ -125,11 +125,7 @@ struct _GstAtomicSwap {
#if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
# ifdef __SMP__
# define GST_ATOMIC_LOCK "lock ; "
# else
# define GST_ATOMIC_LOCK ""
# endif
#define GST_ATOMIC_LOCK "lock ; "
#define _GST_ATOMIC_SWAP_INIT(swap,val) \
G_STMT_START { \