[vlc-devel] is libvlc thread safe ?

Pierre d'Herbemont pdherbemont at free.fr
Tue Jul 29 11:38:00 CEST 2008


Quoting Sébastien Escudier <sebastien-devel at celeos.eu>:

>
>
> Hi
>
> Is libvlc thread safe : can I call libvlc functions with only one instance
> from
> multiple threads without locking?

Depends on the API you plan to call. You need to lock for all the media_list
related call (using media_list_lock).

The rest should be thread safe, but it needs a review.

Pierre.



More information about the vlc-devel mailing list