[vlc-devel] mutex problem

Pankaj yadav pankajdnapster at gmail.com
Wed Jun 16 10:36:45 CEST 2010


Hi,

I am running vlc with rc interface.

First src/playlist/thread.c  Thread() routine starts running which
locks the mutex and enters the main thread loop. and never unlocks the
mutex.

Then rc interface main loop runs.When I enter "add file:///path"
..this thread reaches routine playlist_CurrentInput() of
src/playlist/engie.c and this function again tries to lock the same
mutex [which is already locked by the playlist thread].

I expect this to deadlock ...but it doesnot happen in actual.I know I
am mising something.
But I am unable to guess how does it work actually in vlc.

I need someone to help me understand that.

--
Thanks and Regards
Pankaj Yadav



More information about the vlc-devel mailing list