[vlc-devel] [PATCH] VLM : move a mutex lock/unlock + deadlock question
sebastien-devel at celeos.eu
Thu Mar 18 11:44:29 CET 2010
Correct me if I am wrong, but I think we could save some useless lock/unlock
calls in VLM manage thread. See attached patch.
By the way, I found a possible deadlock since recent changes in this thread.
If a media is deleted with a call to vlm_Control, then here is what is happening
But if the input triggered a callback between the lock and var_DelCallback, then
input thread is blocked in the callback while var_DelCallback is blocked in
var_DelCallback -> WaitUnused
Any idea ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1123 bytes
Desc: not available
More information about the vlc-devel