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

Use concurrent unordered map for parameter set registry #1555

Merged

Conversation

wmtan
Copy link
Contributor

@wmtan wmtan commented Nov 21, 2013

For thread safety, use tbb::concurrent_unordered_map for the parameter set registry.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wmtan for CMSSW_7_0_X.

Use concurrent uunordered map for parameter set registry

It involves the following packages:

DataFormats/Provenance
IOPool/Streamer
FWCore/Framework
FWCore/ParameterSet

@cmsbuild, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks.
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.
@ktf you are the release manager for this.

@@ -396,7 +396,7 @@
outputModulePathPositions);
processEDAliases(proc_pset, processConfiguration->processName(), preg);
proc_pset.registerIt();
pset::Registry::instance()->extraForUpdate().setID(proc_pset.id());
pset::setID(proc_pset.id());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is the process configuration id, why not make the function pset::setProcessConfigurationID

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking further, I see it really should b pset::setProcessParameterSetID to match the get call.

@cmsbuild
Copy link
Contributor

Pull request #1555 was updated. @cmsbuild, @Dr15Jones, @ktf, @nclopezo can you please check and sign again.

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

ktf added a commit that referenced this pull request Nov 22, 2013
…eterSetRegistry

Multithreading fixes -- Use concurrent unordered map for parameter set registry
@ktf ktf merged commit 72c2f55 into cms-sw:CMSSW_7_0_X Nov 22, 2013
@wmtan wmtan deleted the UseConcurrentUnorderedMapForParameterSetRegistry branch December 3, 2013 17:45
ggovi pushed a commit to ggovi/cmssw that referenced this pull request Jan 11, 2017
fix paths in rivet scripts and add variable TEXMFHOME
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

4 participants