[Gstreamer-openmax] [PATCH 2/2] SMP safety for _get_type() functions

Felipe Contreras felipe.contreras at gmail.com
Mon Mar 1 07:30:20 PST 2010


On Sun, Feb 28, 2010 at 10:24 PM, Rob Clark <rob at ti.com> wrote:
> Reading and writing an int is not sufficient synchronization without barrier instructions.  Using g_once_init_enter() (which uses g_atomic_pointer_get()) provides SMP safety.

Looks fine to me.

-- 
Felipe Contreras




More information about the Gstreamer-openmax mailing list