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

Marked debugging static as thread safe in KinematicConstrainedVertexupdatorT #4422

Merged

Conversation

Dr15Jones
Copy link
Contributor

A static instance of a class which only has a std::atomic member data was being
falsely accused of being thread unsafe by the static analyzer. Given the rare
case this represents, it was easier to just mark the static as thread safe using
our C++11 attribute.

…pdatorT

A static instance of a class which only has a std::atomic member data was being
falsely accused of being thread unsafe by the static analyzer. Given the rare
case this represents, it was easier to just mark the static as thread safe using
our C++11 attribute.
@cmsbuild
Copy link
Contributor

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

Marked debugging static as thread safe in KinematicConstrainedVertexupdatorT

It involves the following packages:

RecoVertex/KinematicFit

@nclopezo, @cmsbuild, @Degano, @StoyanStoynev, @slava77 can you please review it and eventually sign? Thanks.
@cerati, @GiacomoSguazzoni, @rovere 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.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@StoyanStoynev
Copy link
Contributor

+1
Based on jenkins (no diffs).
It is a one-line change making a static variable thread_safe.

ktf added a commit that referenced this pull request Jun 30, 2014
…xKinematicFit

Marked debugging static as thread safe in KinematicConstrainedVertexupdatorT
@ktf ktf merged commit a95b606 into cms-sw:CMSSW_7_2_X Jun 30, 2014
@Dr15Jones Dr15Jones deleted the markStaticThreadSafeRecoVertexKinematicFit branch June 30, 2014 18:51
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