shm interface problems

mattes effemm at mykmk.com
Wed Jan 16 12:38:17 PST 2013


Thanks I appreciate the feedback
Mat

On Wed, 16 Jan 2013 14:19:32 -0500 Olivier Crête <olivier.crete at collabora.com>
wrote

> Hi,
> 
> On Wed, 2013-01-16 at 10:32 -0800, mattes wrote:
> > Olivier,
> > 
> > thanks for your response, I really appreciate it.
> > 
> > I am not quite sure about what the mutex is supposed to lock?
> > Are you saying I need to protect threadA monitoring the client
> > connection:
> > 
> >    mutex_lock();
> >    rc = sp_writer_recv( spipe, client );
> >    mutex_unlock();
> 
> Yes, you need to protect every access to the ShmPipe object and the
> related ShmBuffer, ShmAlloc, ShmBlock, etc.
> 
> -- 
> Olivier Crête
> olivier.crete at collabora.com
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>




More information about the gstreamer-devel mailing list