[vlc-devel] [PATCH] win32: we don't need vlc_WaitForMultipleObjects as we only use single HANDLEs

Steve Lhomme robux4 at videolabs.io
Tue Jul 21 12:56:31 CEST 2015


On Tue, Jul 21, 2015 at 12:31 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-07-21 12:31, Steve Lhomme a écrit :
>>
>> and the code in vlc_WaitForMultipleObjects was barely common between
>> the 2 internal calls
>
>
> I still think this is one step forward two steps backward. And the current
> mess is entirely due to hackish WinRT support. It was not that messy before.

In this patch I only moved code so that vlc_WaitForMultipleObjects()
is not used anymore. It had 2 exclusive ways to way, each
corresponding to a single call. Given the amount of common code, I
think it's better for the long run. We can work on the WinRT specifics
after that.

Also passing a pointer when it's not necessary (a table with 0 or 1
element) is better gone.

> --
> 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