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 MagFields verbose::debugOut to constexpr to avoid threading problems #1187

Merged
merged 1 commit into from Oct 27, 2013

Conversation

Dr15Jones
Copy link
Contributor

The thread-safey checker complains about the static verbose::debugOut.
Given that no code exists which changes the value after it is initialized
changing this to a constexpr has no functional effect. The default remains
the same 'false'. If one wants the debug output they have to edit the code
and recompile.

…roblems

The thread-safey checker complains about the static verbose::debugOut.
Given that no code exists which changes the value after it is initialized
changing this to a constexpr has no functional effect. The default remains
the same 'false'. If one wants the debug output they have to edit the code
and recompile.
@Dr15Jones
Copy link
Contributor Author

@ktf This is purely a technical change which indirectly caused thread safety issues for 129 modules.

@cmsbuild
Copy link
Contributor

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

Changed MagFields verbose::debugOut to constexpr to avoid threading problems

It involves the following packages:

MagneticField/Layers

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

@slava77
Copy link
Contributor

slava77 commented Oct 27, 2013

+1

tested (sign263) in CMSSW_7_0_X_2013-10-26-1400
#1187 3739654
#1186 8c7ae33
#1180 e5f07bd
no diffs as expected

@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 27, 2013
Multithreading fixes -- Changed MagFields verbose::debugOut to constexpr to avoid threading problems
@ktf ktf merged commit 3dd6b91 into cms-sw:CMSSW_7_0_X Oct 27, 2013
gpetruc pushed a commit to gpetruc/cmssw that referenced this pull request Jan 23, 2024
Correlator: support for running barrel TM18
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