Chromium Code Reviews
DescriptionAdds a way to associate key/value pairs with the environment
This is to fix a deadlock during shutdown. Specifically
WatcherThreadManager was a LazyInstance. This means it would be
shutdown by LazyInstance, which holds a lock. If the thread attempted
to grab the lazyinstance lock (which it does), then we deadlock.
Making the WatcherTheadManager owned by Environment makes for saner
lifetime management and easier shutdown in tests.
BUG=none
TEST=none
R=darin@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261045
Patch Set 1 #Patch Set 2 : comment #
Total comments: 13
Patch Set 3 : integrate review feedback #Patch Set 4 : setup environment in tests #Patch Set 5 : make mojo_service_manager depend on mojo_common_lib #
Messages
Total messages: 31 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||