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

Issue 379503002: Change g_native_tls_key to be 32-bit wide to match underlying type. (Closed)

Created:
6 years, 5 months ago by Will Harris
Modified:
6 years, 5 months ago
Reviewers:
michaelbai, Nico
CC:
chromium-reviews, erikwright+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Change g_native_tls_key to be 32-bit wide to match underlying type. BUG=392037 TEST=base_unittests --gtest_filter=ThreadLocalStorageTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281691

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M base/threading/thread_local_storage.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Will Harris
6 years, 5 months ago (2014-07-08 04:24:30 UTC) #1
Nico
lgtm
6 years, 5 months ago (2014-07-08 04:32:10 UTC) #2
Will Harris
The CQ bit was checked by wfh@chromium.org
6 years, 5 months ago (2014-07-08 04:38:23 UTC) #3
michaelbai
This was wrong, the key is int in posix, it will be 64 bits in ...
6 years, 5 months ago (2014-07-08 04:39:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wfh@chromium.org/379503002/1
6 years, 5 months ago (2014-07-08 04:39:51 UTC) #5
Will Harris
On 2014/07/08 04:39:37, michaelbai wrote: > This was wrong, the key is int in posix, ...
6 years, 5 months ago (2014-07-08 04:42:43 UTC) #6
Nico
On 2014/07/08 04:39:37, michaelbai wrote: > This was wrong, the key is int in posix, ...
6 years, 5 months ago (2014-07-08 04:52:56 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-08 05:49:11 UTC) #8
commit-bot: I haz the power
Change committed as 281691
6 years, 5 months ago (2014-07-08 07:37:09 UTC) #9
michaelbai
6 years, 5 months ago (2014-07-08 16:21:35 UTC) #10
Message was sent while issue was closed.
On 2014/07/08 04:52:56, Nico (away) wrote:
> On 2014/07/08 04:39:37, michaelbai wrote:
> > This was wrong, the key is int in posix, it will be 64 bits in 64-bit OS.
> 
> I think Windows uses LLP64 and Linux uses LP64 (
> http://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models ); in both
> models ints are 32bit on 64 bit as far as I know.
> 
> (On Windows, longs are 32bit too)

Thanks, I were thinking int will be 64 bit in some 64 bits system.

Powered by Google App Engine
This is Rietveld 408576698