diff options
author | Jason Carey <jcarey@argv.me> | 2015-11-05 11:09:55 -0500 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2015-11-05 13:48:05 -0500 |
commit | c6d730bfed0c3ec374b35c4fd5b2badaa9bd8fc6 (patch) | |
tree | 1703c6b088612770c47a5127dff94f396bb9e7ed /src/mongo/s/strategy.cpp | |
parent | 0650d80cc4a77b489dd5f52e84d81d7c8c123468 (diff) | |
download | mongo-c6d730bfed0c3ec374b35c4fd5b2badaa9bd8fc6.tar.gz |
SERVER-21304 make ProgramRegistry::_handles thread safe
There is one global program registry in the shell for managing
processes. That registry has a mutex, and uses it to protect it's
internal lookup tables against concurrent access.
On windows, it additionally has a map from pid to HANDLE, but offers
this as a public member and makes no effort to ensure thread safe
access. We need to bury access to that type behind methods and use the
registry mutex to guard _handle inside.
Diffstat (limited to 'src/mongo/s/strategy.cpp')
0 files changed, 0 insertions, 0 deletions