[vlc-devel] [PATCH] libvlc: add internal function libvlc_get_thread_context()

Jérôme Forissier jerome at taodyne.com
Fri Feb 28 16:53:16 CET 2014


On 27 févr. 2014, at 19:27, Rémi Denis-Courmont wrote:

> Le jeudi 27 février 2014, 19:07:44 Jerome Forissier a écrit :
>> This commit rewrites the error handling functions (libvlc_errmsg() et al.)
>> so that they use a common per-thread structure. Should other parts of the
>> library need to store per-thread data in the future, no additional
>> vlc_threadvar_t will be required.
>> ---
<...>

Thanks for the review. Your comments are valid indeed, and I can address them,
but in the meantime I won't be using TLS as I initially expected so this patch
might be undesirable for now.
If you think otherwise, just tell me and I'll submit an updated version.

-- 
Jérôme




More information about the vlc-devel mailing list