[vlc-devel] [PATCH 11/15] nacl: Add custom thread implementation

Rémi Denis-Courmont remi at remlab.net
Thu Mar 9 16:17:24 CET 2017


On March 8, 2017 11:37:00 PM GMT+02:00, Dennis Hamester <dhamester at jusst.de> wrote:
>On 03/08/2017 06:36 PM, Rémi Denis-Courmont wrote:
>> Le keskiviikkona 8. maaliskuuta 2017, 16.55.12 EET Hugo
>Beauzée-Luyssen a 
>> écrit :
>>> Hi,
>>>
>>> This seems to be mostly whitespaces and removing assertions compared
>to
>>> android/thread.c Is there any other difference?
>> 
>> It provides an implementation of VLC futeces, but I can´t fathom what
>its 
>> point is.
>> 
>
>Its point is exactly that, implement VLC futexes, which are heavily
>used
>in src/misc/thread.c for VLC condition variables.
>
>Best
>Dennis

vlc_addr is only meant to provide a working implementation of CV on platforms with futexes and w/o working CV.

We don't have vlc_addr on Darwin or BSD. We don't use vlc_addr on GNU/Linux.

Implementing them on a platform that does not support them at all seems very round-about.
-- 
Rémi Denis-Courmont


More information about the vlc-devel mailing list