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

Made LockService thread safe #1219

Merged
merged 1 commit into from Oct 30, 2013
Merged

Conversation

Dr15Jones
Copy link
Contributor

The LockService should not be used in the threaded framework but getting it working may help with migration. The scoped_lock was removed since it was being updated each call and therefore was not safe if multiple modules are running concurrently. Instead we directly call ‘lock()’ and ‘unlock()’.

The LockService should not be used in the threaded framework but getting it working may help with migration. The scoped_lock was removed since it was being updated each call and therefore was not safe if multiple modules are running concurrently. Instead we directly call ‘lock()’ and ‘unlock()’.
@Dr15Jones
Copy link
Contributor Author

+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?

@nclopezo
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 Oct 30, 2013
Multithreading fixes -- Made LockService thread safe
@ktf ktf merged commit 77ca8a9 into cms-sw:CMSSW_7_0_X Oct 30, 2013
aloeliger added a commit to aloeliger/cmssw that referenced this pull request Mar 11, 2024
Fix GT producer for new e/g hw interfaces and update emulator patterns for new recipe
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