valve: Make the drop variable into an atomic.
authorOlivier Crête <olivier.crete@collabora.co.uk>
Thu, 30 Sep 2010 20:26:19 +0000 (16:26 -0400)
committerOlivier Crête <olivier.crete@collabora.co.uk>
Thu, 30 Sep 2010 20:26:19 +0000 (16:26 -0400)
commit9246ed081e470d2bd2d56ab9bfe747e1edf018ca
tree00c70bdcf4dc7e43195d10845a0a4607f9e6112e
parent0af7cc8ba735fc1c1de8c52e0201e51cf1ae5ef5
valve: Make the drop variable into an atomic.

Using an atomic allows us to avoid locking the whole object all time time.
As suggested by Stefan Kost.
gst/valve/gstvalve.c
gst/valve/gstvalve.h