diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2020-09-17 22:12:27 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-22 18:42:19 +0000 |
commit | 9ec023a45dff4f8b3b837bee2c99442f0eec5316 (patch) | |
tree | 0b57ac988228a320480b539e2283b27044941b67 /buildscripts | |
parent | c39af144b2370be0537410d9bc79be66a1a5f3c7 (diff) | |
download | mongo-9ec023a45dff4f8b3b837bee2c99442f0eec5316.tar.gz |
SERVER-51055 ServiceContext::SyncUnique to fix unique_ptr races.
- The generic template synchronized_value cannot predict the
acquisition level of its instantiations or instances. Take a
policy parameter to allow mutex details to be customized.
- simplify synchronized_value implementation
- merge const_update_guard with update_guard as 1 nested class
- ServiceContext SyncUnique must use a raw mutex policy to avoid
recursion when Latch Diagnostics accesses ServiceContext
Diffstat (limited to 'buildscripts')
0 files changed, 0 insertions, 0 deletions