-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make mutable in EventSetupRecord atomic #3725
Make mutable in EventSetupRecord atomic #3725
Conversation
The transient access bool is now atomic since multiple threads could attempt to change it.
A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_1_X. Make mutable in EventSetupRecord atomic It involves the following packages: FWCore/Framework @cmsbuild, @Degano, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks. |
+1 |
-1 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc5_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/FWCore/Framework/interface/EventSetupRecord.h:60, from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc5_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/FWCore/Framework/interface/EventSetupRecordImplementation.h:26, from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc5_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/CondFormats/DataRecord/interface/SiPixelFedCablingMapRcd.h:5, from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc5_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/CondFormats/SiPixelObjects/interface/SiPixelQuality.h:17, from src/CondFormats/SiPixelObjects/src/classes.h:14: /afs/cern.ch/cms/sw/ReleaseCandidates/vol1/slc5_amd64_gcc481/external/gcc/4.8.1/bin/../lib/gcc/x86_64-redhat-linux-gnu/4.8.1/../../../../include/c++/4.8.1/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc5_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/FWCore/Services/src/PrintLoadingPlugins.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc5_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/FWCore/Services/src/ProcInfoFetcher.cc In file included from /afs/cern.ch/cms/sw/ReleaseCandidates/vol1/slc5_amd64_gcc481/external/gcc/4.8.1/bin/../lib/gcc/x86_64-redhat-linux-gnu/4.8.1/../../../../include/c++/4.8.1/atomic:41, from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc5_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/FWCore/Framework/interface/EventSetupRecord.h:60, from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc5_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/FWCore/Framework/interface/EventSetupRecordImplementation.h:26, you can see the results of the tests here: |
The EventSetupRecord now uses and std::atomic which is unparseable by ROOT. Changed cases where ROOT parsed the classes to use forward declarations instead. This did require adding the missing include to a source file.
@nclopezo please rerun the tests |
Pull request #3725 was updated. @apfeiffer1, @diguida, @monttj, @cmsbuild, @Dr15Jones, @rcastello, @ggovi, @vadler, @Degano, @ktf, @nclopezo can you please check and sign again. |
+1 |
+1 |
+1 |
FWCore/Framework -- Make mutable in EventSetupRecord atomic
The transient access bool is now atomic since multiple threads could attempt to change it.