[vlc-devel] ?= [PATCH 0/2]=?utf-8?q? srt: cancellable in a thread

Rémi Denis-Courmont remi at remlab.net
Fri Jan 12 11:08:20 CET 2018


Le 12 janvier 2018 07:03:55 GMT+02:00, Justin Kim <justin.kim at collabora.co.uk> a écrit :
>Although I don't understand SRT fully,  I assumed that SRT does because
>it internally uses recvmsg, sendmsg which can be cancellation points on
>POSIX, and WSARecvFrom, WSASendTo which are interruptible APIs on
>Windows.
>
>On Thursday, January 11, 2018 18:27 KST, Rémi Denis-Courmont
><remi at remlab.net> wrote: 
> 
>> Does the SRT library guarantee that its send and recv functions are
>synchronous cancellation-safe on POSIX, and interruptible on Windows,
>respectively?
>> -- 
>> Remi Denis-Courmont
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

The issue is whether the library is ready to handle cancellation at the cancellation points. Most libraries are not that way, leading to leaks and deadlocks.
-- 
Remi Denis-Courmont


More information about the vlc-devel mailing list