Skip to content
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

Merged
merged 2 commits into from May 9, 2014

Conversation

Dr15Jones
Copy link
Contributor

The transient access bool is now atomic since multiple threads could attempt to change it.

The transient access bool is now atomic since multiple threads could attempt to change it.
@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2014

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.
@wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes or unless it breaks tests. @nclopezo, @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

cmsbuild commented May 8, 2014

-1
I found an error when building:

                 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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3725/12/summary.html

@cmsbuild
Copy link
Contributor

cmsbuild commented May 8, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (but tests are reportedly failing). @nclopezo, @ktf can you please take care of it?

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.
@Dr15Jones
Copy link
Contributor Author

@nclopezo please rerun the tests

@cmsbuild
Copy link
Contributor

cmsbuild commented May 8, 2014

Pull request #3725 was updated. @apfeiffer1, @diguida, @monttj, @cmsbuild, @Dr15Jones, @rcastello, @ggovi, @vadler, @Degano, @ktf, @nclopezo can you please check and sign again.

@vadler
Copy link

vadler commented May 8, 2014

+1
AT only minimally affected.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2014

@diguida
Copy link
Contributor

diguida commented May 9, 2014

+1

@apfeiffer1
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_1_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

nclopezo added a commit that referenced this pull request May 9, 2014
FWCore/Framework -- Make mutable in EventSetupRecord atomic
@nclopezo nclopezo merged commit 42cb44d into cms-sw:CMSSW_7_1_X May 9, 2014
@Dr15Jones Dr15Jones deleted the threadSafeMutableInESRecord branch May 9, 2014 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants