[vlc-devel] Potential race condition in libvlc_media_player_play
beauze.h at gmail.com
Sun May 10 12:23:53 CEST 2009
On Fri, May 8, 2009 at 2:13 AM, Laurent Aimar <fenrir at via.ecp.fr> wrote:
> On Thu, May 07, 2009, Hugo Beauzee-Luyssen wrote:
>> input_CreateThread, which would be a function pointer. This could
>> allow the thread creator to specify something different that the Run()
>> function, which could create the variables and set the appropriate
>> callbacks before calling Run().
>> Another solution I tried was to lock a mutex, making the thread wait
>> until we want it to run. However, every mutex I came across was locked
>> at least once before the thread was actually spawned...
> I have splitted the input creation in two step to allow attaching event
> handlers before starting the thread. I have fixed the playlist and libvlc
> to use them. Could you test it ?
> Thanks for your report.
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
It seems to work perfectly fine ! Thanks a lot :)
More information about the vlc-devel