[vlc-devel] [PATCH 0/3] Chromecast file skipping and seeking

Steve Lhomme robux4 at gmail.com
Fri Apr 29 09:14:08 CEST 2016


On Fri, Apr 29, 2016 at 8:52 AM, Steve Lhomme <robux4 at gmail.com> wrote:
> On Thu, Apr 28, 2016 at 8:40 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
>> It should be obvious but never use INET/INET6 sockets as intra-process
>> synchronization.
>
> I agree it's not pretty, but is there another way to make the blocking
> receiver poll() exit ? Or should I just use a second thread for
> sending (just as ugly IMO) ?

Ah, I didn't notice that net_Socket() uses vlc_socket() which is
public. I know it's sufficient for what I need on Windows. I'm not
100% sure closing an 'unattached' socket in a poll() will wake it up
on other OSes.

>> --
>> Rémi Denis-Courmont
>> 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