[vlc-devel] [PATCH 3/3] Symbian specific initialization routines

Rémi Denis-Courmont remi at remlab.net
Mon Jan 10 16:27:45 CET 2011


On Mon, 10 Jan 2011 19:59:33 +0530, Pankaj yadav <pankajdnapster at gmail.com>
wrote:
>> You don't seem to use the thread handle ever, which seems like a bug.
>> Where is the thread joined?
> 
> do we need to join if we are sure that thread doesn't wait for
> anything..there are no chances of this threadcontroller getting
deadlocked
> ?

Then how do you make sure that the resources and code segment used by the
thread won't get deleted while the thread is still running?

>> What happens if libvlc is initialized multiple
>> times??
>>
> are there any chances?

Depends on what uses the library. But if there were no chances, there is no
point in using pthread_once().


-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list