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

Changed static to static const to avoid complaints from the thread-safety checker #1122

Merged
merged 1 commit into from Oct 22, 2013

Conversation

Dr15Jones
Copy link
Contributor

The Thread-safety checker looks for uses of non-const statics in the code and complains when they are found. This code had such statics, however the are only ever used to read and never to change. Therefore it was perfectly safe to change them to 'const static'.

@Dr15Jones
Copy link
Contributor Author

@ktf this is a technical change only.

@cmsbuild
Copy link
Contributor

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

Changed static to static const to avoid complaints from the thread-safety checker

It involves the following packages:

DataFormats/L1GlobalTrigger

@smuzaffar, @nclopezo, @mulhearn 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.

@nclopezo
Copy link
Contributor

@mulhearn
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?

ktf added a commit that referenced this pull request Oct 22, 2013
Thread safety fixes -- Changed static to static const to avoid complaints from the thread-safety checker
@ktf ktf merged commit 6e54af5 into cms-sw:CMSSW_7_0_X Oct 22, 2013
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

5 participants