[vlc-devel] [PATCH 5/9] VLCKit: There is no reason to have a blocking call to main thread from the event manager thread

Florent Pillet fpillet at gmail.com
Fri Jul 11 11:16:12 CEST 2014


Yes the execution order is guaranteed if we always push calls to another
thread the same way (either using dispatch or -performSelector). There is
no need to wait for execution completion, IMHO.


On 11 July 2014 08:20, Gleb Pinigin <gpinigin at gmail.com> wrote:

>
> Hi,
>
> Yep, most likely.
>
> Do you see a real reason to make this call synchronous?
>
> On Jul 11, 2014, at 1:13 PM, David Fuhrmann <david.fuhrmann at gmail.com>
> wrote:
>
> >
> > Am 11.07.2014 um 04:08 schrieb Gleb Pinigin <gpinigin at gmail.com>:
> >
> >>
> >> It's only needed to guarantee that events will be performed on main
> thread in dispatch order.
> >
> > Hi,
> >
> > Even with waitUntilDone: NO, the execution order on the main thread
> should be retained, no?
> >
> > With best regards,
> > David
> > _______________________________________________
> > 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
>



-- 
Florent Pillet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140711/8e04d284/attachment.html>


More information about the vlc-devel mailing list