[vlc-devel] [PATCH] input_clock: remove useless mutex

Thomas Guillem thomas at gllm.fr
Wed Jan 6 10:14:33 UTC 2021


In fact, there was already a comment in input_clock.h: "All functions MUST be called from one and only one thread.".

I will change it to "This API is reentrant but not thread-safe"

On Wed, Dec 23, 2020, at 12:28, Rémi Denis-Courmont wrote:
> Le tiistaina 22. joulukuuta 2020, 16.59.57 EET Thomas Guillem a écrit :
> > It is now always accessed from es_out.c and protected with the es_out
> > mutex.
> 
> No objections on the code, but the (lack of) thread safety should be 
> documented with the API.
> 
> -- 
> Реми Дёни-Курмон
> http://www.remlab.net/
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list