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 MagGeometry thread safe #1837

Merged

Commits on Dec 16, 2013

  1. Made MagGeometry thread safe

    Changed MagGeometry to use an std::atomic<> for its cache of the last volume used. This will allow thread-safe comparisions.
    Changed const member functions to return const pointers to member data. This is also needed for thread-safety and was
    caught by the static analyzer.
    Also changed member data which were pointers to be const pointers in order to help  make future maintanence thread-safe.
    Dr15Jones committed Dec 16, 2013
    Copy the full SHA
    0f77253 View commit details
    Browse the repository at this point in the history