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

Mark PluginManager statics as thread safe #3107

Merged

Conversation

Dr15Jones
Copy link
Contributor

The singletons for the plugin system are required to be initialized before any threads are started, therefore the statics which hold those singletons are thread safe. This commit used the cms attribute to mark these as safe so we do not get a false positive from the static analyzer.

The singletons for the plugin system are required to be initialized before any threads are started, therefore the statics which hold those singletons are thread safe. This commit used the cms attribute to mark these as safe so we do not get a false positive from the static analyzer.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_1_X.

Mark PluginManager statics as thread safe

It involves the following packages:

FWCore/PluginManager

@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

@ktf
Copy link
Contributor

ktf commented Mar 31, 2014

Trivial. Bypassing to get it in the 14:00 IB.

ktf added a commit that referenced this pull request Mar 31, 2014
…eadSafe

Multithreading -- Mark PluginManager statics as thread safe
@ktf ktf merged commit eb1c64a into cms-sw:CMSSW_7_1_X Mar 31, 2014
@Dr15Jones Dr15Jones deleted the markPluginManagerStaticsAsThreadSafe branch March 31, 2014 11:49
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

3 participants