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

Issue 22816018: Make the lazy TLS pointer to the current MessageLoop into a Leaky LazyInstance. (Closed)

Created:
7 years, 4 months ago by earthdok
Modified:
7 years, 3 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sadrul, Jeffrey Yasskin, alexeypa (please no reviews)
Visibility:
Public.

Description

Make the lazy TLS pointer to the current MessageLoop into a Leaky LazyInstance. If a joinable thread is not joined before AtExit (e.g. if it is owned by a leaky singleton), the AtExitManager will destroy its MessageLoop pointer while the thread is still running. Make the pointer Leaky to prevent that from happening. BUG=270110 R=darin, jar Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219953

Patch Set 1 #

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

Messages

Total messages: 12 (0 generated)
earthdok
please take a look
7 years, 4 months ago (2013-08-20 19:32:13 UTC) #1
Nico
(i think alexeypa has touched this recently?)
7 years, 4 months ago (2013-08-21 19:31:19 UTC) #2
earthdok
On 2013/08/21 19:31:19, Nico (vacation Aug 2 - Aug 22) wrote: > (i think alexeypa ...
7 years, 4 months ago (2013-08-21 19:46:25 UTC) #3
earthdok
Adding another reviewer. Jim, please take a look.
7 years, 3 months ago (2013-08-27 13:03:54 UTC) #4
jar (doing other things)
This seems super safe. We don't need to recycle these pointers (we really just use ...
7 years, 3 months ago (2013-08-27 17:54:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/22816018/1
7 years, 3 months ago (2013-08-27 18:50:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/22816018/1
7 years, 3 months ago (2013-08-27 18:58:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/22816018/1
7 years, 3 months ago (2013-08-27 19:14:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/22816018/1
7 years, 3 months ago (2013-08-27 19:38:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/22816018/1
7 years, 3 months ago (2013-08-27 20:07:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@chromium.org/22816018/1
7 years, 3 months ago (2013-08-28 00:38:08 UTC) #11
commit-bot: I haz the power
7 years, 3 months ago (2013-08-28 07:51:23 UTC) #12
Message was sent while issue was closed.
Change committed as 219953

Powered by Google App Engine
This is Rietveld 408576698