Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Issue 174264: linux: call g_thread_init() at relevant startup points (Closed)

Created:
11 years, 4 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

linux: call g_thread_init() at relevant startup points According to glib docs, we need to do this if it's at all possible for us to hit glib on multiple threads. This may be happening when we grab plugin metadata from the file thread. Rather than explicitly depending on gthread all over the place, just put it in with the GTK dep (since anywhere we're using GTK we ought to init gthread). (Note that this is *not* initializing the GDK locking system.) BUG=18957

Patch Set 1 #

Patch Set 2 : with gyp change #

Patch Set 3 : retry #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -49 lines) Patch
M base/process_util_unittest.cc View 3 chunks +29 lines, -27 lines 0 comments Download
M base/test_suite.h View 1 chunk +1 line, -0 lines 0 comments Download
M build/linux/system.gyp View 2 chunks +3 lines, -20 lines 0 comments Download
M chrome/app/chrome_dll_main.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome.gyp View 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/plugin/plugin_thread.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Evan Martin
can't hurt, right?
11 years, 4 months ago (2009-08-21 22:37:54 UTC) #1
willchan no longer on Chromium
On 2009/08/21 22:37:54, Evan Martin wrote: > can't hurt, right? I haven't looked at the ...
11 years, 4 months ago (2009-08-21 22:47:01 UTC) #2
Evan Martin
On 2009/08/21 22:47:01, willchan wrote: > plugin one left. In the long run, we want ...
11 years, 4 months ago (2009-08-21 23:05:39 UTC) #3
piman
LGTM.
11 years, 4 months ago (2009-08-21 23:14:39 UTC) #4
willchan no longer on Chromium
lgtm2
11 years, 4 months ago (2009-08-21 23:18:29 UTC) #5
willchan no longer on Chromium
On Fri, Aug 21, 2009 at 4:05 PM, <evan@chromium.org> wrote: > On 2009/08/21 22:47:01, willchan ...
11 years, 4 months ago (2009-08-21 23:32:21 UTC) #6
Evan Martin
please re-review, i had to rejigger deps (and updated the description)
11 years, 4 months ago (2009-08-24 20:20:31 UTC) #7
Dean McNamee
Just wanted to confirm, are we seeing these crashes in the browser or plugin process? ...
11 years, 4 months ago (2009-08-24 20:29:34 UTC) #8
Evan Martin
> > Not sure. =A0If this fixes the problem, then I think we're ok -- ...
11 years, 4 months ago (2009-08-24 20:30:27 UTC) #9
Evan Martin
Yep. On Mon, Aug 24, 2009 at 1:25 PM, Dean McNamee<deanm@chromium.org> wrote: > Just wanted ...
11 years, 4 months ago (2009-08-24 20:32:54 UTC) #10
piman
11 years, 4 months ago (2009-08-24 20:51:35 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698