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

Issue 1395043003: Use a singleton instead of a global for MojoWaitManyState (Closed)

Created:
5 years, 2 months ago by jsimmons1
Modified:
5 years, 2 months ago
Reviewers:
jamesr, abarth-chromium
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M mojo/dart/embedder/mojo_natives.cc View 1 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
abarth-chromium
LGTM
5 years, 2 months ago (2015-10-09 23:41:36 UTC) #2
jamesr
https://codereview.chromium.org/1395043003/diff/1/mojo/dart/embedder/mojo_natives.cc File mojo/dart/embedder/mojo_natives.cc (right): https://codereview.chromium.org/1395043003/diff/1/mojo/dart/embedder/mojo_natives.cc#newcode739 mojo/dart/embedder/mojo_natives.cc:739: return Singleton<MojoWaitManyState>::get(); Singleton<> here is providing thread-safe initialization, which ...
5 years, 2 months ago (2015-10-09 23:42:32 UTC) #3
abarth-chromium
https://codereview.chromium.org/1395043003/diff/1/mojo/dart/embedder/mojo_natives.cc File mojo/dart/embedder/mojo_natives.cc (right): https://codereview.chromium.org/1395043003/diff/1/mojo/dart/embedder/mojo_natives.cc#newcode746 mojo/dart/embedder/mojo_natives.cc:746: MojoWaitManyState* handle_watcher_wait_state = On 2015/10/09 at 23:42:32, jamesr wrote: ...
5 years, 2 months ago (2015-10-09 23:45:47 UTC) #4
jsimmons1
https://codereview.chromium.org/1395043003/diff/1/mojo/dart/embedder/mojo_natives.cc File mojo/dart/embedder/mojo_natives.cc (right): https://codereview.chromium.org/1395043003/diff/1/mojo/dart/embedder/mojo_natives.cc#newcode739 mojo/dart/embedder/mojo_natives.cc:739: return Singleton<MojoWaitManyState>::get(); On 2015/10/09 23:42:32, jamesr wrote: > Singleton<> ...
5 years, 2 months ago (2015-10-09 23:50:47 UTC) #5
jamesr
I'm not seeing a new patch set here - run 'git cl upload' to put ...
5 years, 2 months ago (2015-10-10 00:02:11 UTC) #6
jamesr
I see it now, lgtm
5 years, 2 months ago (2015-10-10 00:04:11 UTC) #7
jsimmons1
5 years, 2 months ago (2015-10-10 00:19:12 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
9aaee9d23fa645ff87eddc35078f2d80124f0bf0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698