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

Issue 10828214: Add a comment explaining why we need libxml's multithreading mode (Closed)

Created:
8 years, 4 months ago by Nico
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add a comment explaining why we need libxml's multithreading mode BUG=138571 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151111

Patch Set 1 #

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M third_party/libxml/libxml.gyp View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Peter Beverloo
SGTM for Android. What is the reason for disabling threading? Attaching a bug or a ...
8 years, 4 months ago (2012-08-08 20:59:41 UTC) #1
Nico
Mark added -D_REENTRANT in the initial libxml.gypi, Peter added it for android. When Peter added ...
8 years, 4 months ago (2012-08-09 00:04:14 UTC) #2
Mark Mentovai
LGTM. I only had it threaded because that’s what a normal “configure” gave.
8 years, 4 months ago (2012-08-09 15:42:42 UTC) #3
Evan Martin
On 2012/08/09 15:42:42, Mark Mentovai wrote: > LGTM. I only had it threaded because that’s ...
8 years, 4 months ago (2012-08-09 18:27:37 UTC) #4
Nico
8 years, 4 months ago (2012-08-10 18:13:00 UTC) #5
On Thu, Aug 9, 2012 at 11:27 AM,  <evan@chromium.org> wrote:
> On 2012/08/09 15:42:42, Mark Mentovai wrote:
>>
>> LGTM. I only had it threaded because that’s what a normal “configure”
>> gave.
>
>
> It seems you need threads if you use libxml at all from multiple threads:
> http://www.xmlsoft.org/threads.html
> That is, this flag is *not* related to the more specific and unChromelike
> thing
> of touching the same xml document from multiple threads.
>
> It seems to me likely (and/or possible) that Chrome touches libxml from more
> than one thread, so maybe this change is a bad idea.

Thanks for pointing this out. I repurposed this CL to add a comment to
that end instead.

(Unfortunate!)

Powered by Google App Engine
This is Rietveld 408576698