[vlc-devel] [PATCH] -- media_list

Rémi Denis-Courmont rem at videolan.org
Tue Dec 9 18:26:53 CET 2008

Le dimanche 7 décembre 2008 23:55:36 brezhoneg1, vous avez écrit :
> I do agree vlc_clone is a bad solution. I thought of pthread_detach but
> it seems no vlc wrapper exists for it.
> Let me explain the issue and you may help me find another way to do it.

It would be easy to had a wrapper for pthread_detach. We decided against it on 
the basis that detached threads can pretty never work properly, at least not 
within LibVLC, or any library for that matter. You always need to ensure that 
the thread has exited before you deinitialize the library, which very much 
kills the whole point of detached threads.

Rémi Denis-Courmont

More information about the vlc-devel mailing list