mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-26 09:50:39 +00:00
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:
parent
16787e78c0
commit
6fc49a76a1
|
@ -125,11 +125,7 @@ struct _GstAtomicSwap {
|
||||||
|
|
||||||
#if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
|
#if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2
|
||||||
|
|
||||||
# ifdef __SMP__
|
#define GST_ATOMIC_LOCK "lock ; "
|
||||||
# define GST_ATOMIC_LOCK "lock ; "
|
|
||||||
# else
|
|
||||||
# define GST_ATOMIC_LOCK ""
|
|
||||||
# endif
|
|
||||||
|
|
||||||
#define _GST_ATOMIC_SWAP_INIT(swap,val) \
|
#define _GST_ATOMIC_SWAP_INIT(swap,val) \
|
||||||
G_STMT_START { \
|
G_STMT_START { \
|
||||||
|
|
Loading…
Reference in a new issue