mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +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
1 changed files with 1 additions and 5 deletions
|
@ -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 { \
|
||||
|
|
Loading…
Reference in a new issue