[vlc-devel] [PATCH] Symbian main routine

Pankaj yadav pankajdnapster at gmail.com
Sat Jan 22 19:54:18 CET 2011


On Sun, Jan 23, 2011 at 12:04 AM, Tobias Güntner <fatbull at web.de> wrote:

> > +static symbian_libvlc_Wait( libvlc_int_t *p_libvlc )
> > +{
> > +    vlc_sem_init(&exit_sem,0);
> > +    vlc_sem_wait(&exit_sem);
> > +    vlc_sem_destroy(&exit_sem);
> > +}
>
> This is a race condition. It is not guaranteed that vlc_sem_init has
> completed when another thread calls vlc_sem_post on exit_sem.
>
> true, thanx

> --
> Regards,
> Tobias
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



-- 
Pankaj Yadav
http://people.videolan.org/~pk <http://people.videolan.org/%7Epk>
Open Source Enthusiast
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110123/36f8b712/attachment.html>


More information about the vlc-devel mailing list