Option (b) is better, as far as I can tell. On windows, those messages have their own HWND anyway.
Adam On Fri, Apr 10, 2009 at 1:15 PM, Ricardo Vargas <[email protected]> wrote: > I opened bug 7379 a while ago to implement option b on the windows side. > > On Fri, Apr 10, 2009 at 1:03 PM, Brett Wilson <[email protected]> wrote: >> >> On Fri, Apr 10, 2009 at 12:42 PM, Evan Stade <[email protected]> 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. >> >> Brett >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
