File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,6 @@ class handler_impl {
6666 // / submission is a fallback from a previous submission.
6767 std::shared_ptr<queue_impl> MSubmissionSecondaryQueue;
6868
69- // Protects MAuxiliaryResources.
70- std::mutex MAuxiliaryResourcesMutex;
71-
7269 // Stores auxiliary resources used by internal operations.
7370 std::vector<std::shared_ptr<const void >> MAuxiliaryResources;
7471};
Original file line number Diff line number Diff line change @@ -405,9 +405,7 @@ event handler::finalize() {
405405}
406406
407407void handler::addReduction (const std::shared_ptr<const void > &ReduObj) {
408- std::shared_ptr<detail::handler_impl> Impl = getHandlerImpl ();
409- std::lock_guard<std::mutex> Lock (Impl->MAuxiliaryResourcesMutex );
410- Impl->MAuxiliaryResources .push_back (ReduObj);
408+ getHandlerImpl ()->MAuxiliaryResources .push_back (ReduObj);
411409}
412410
413411void handler::associateWithHandler (detail::AccessorBaseHost *AccBase,
You can’t perform that action at this time.
0 commit comments