On Fri, Apr 10, 2009 at 1:03 PM, Brett Wilson <bre...@chromium.org> wrote:

>
> On Fri, Apr 10, 2009 at 12:42 PM, Evan Stade <est...@chromium.org> wrote:
> > a) wrap the clipboard calls in gtk_threads_{enter,leave}(). This makes
> > the calls thread safe, but it does so by locking a process-wide mutex,
> > which will block our UI thread's main loop.
>
> I personally think this is OK. These calls "should" be on the UI
> thread and we'd put them there if we could. So having them on another
> thread blocking the UI thread seems equivalent. We just need to be
> careful to limit the locking to just that.


If in Linux plugin windows block the parent window (as they do on Windows),
then this will lead to a deadlock just as if the message was processed on
the UI thread.


>
> Brett
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to