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

Rename instances of std::mutex from "Lock" to "Mutex" #4217

Merged

Conversation

N-Dekker
Copy link
Contributor

Follow-up to commit d0a8534 "ENH: using standard library's mutex primitives", Dženan Zukić (@dzenanz), October 31, 2018.

Renamed the private `MattesMutualInformationImageToImageMetricv4` data member
`m_ParentJointPDFDerivativesLockPtr` to `m_ParentJointPDFDerivativesMutexPtr`,
as it is a mutex pointer.
Replaced the word "Lock" with "Mutex", in the identifier of private and internal
member variables that are declared as `std::mutex`:

    MersenneTwisterRandomVariateGenerator::m_InstanceLock
    FFTWGlobalConfiguration::m_Lock
    FFTWGlobalConfigurationGlobals::m_CreationLock
    FEMFactoryBase::m_CreationLock
    m_MetricCalculationLock (from RegistrationFunction classes)
    MultiThreaderBaseGlobals::globalDefaultInitializerLock
    PlatformMultiThreader::m_SpawnedThreadActiveFlagLock
    ioDefaultSplitterLock
    createImageIOLock

Follow-up to commit d0a8534 "ENH: using
standard library's mutex primitives", Dženan Zukić, October 31, 2018.
@github-actions github-actions bot added area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:IO Issues affecting the IO module area:Registration Issues affecting the Registration module area:Numerics Issues affecting the Numerics module labels Sep 18, 2023
@N-Dekker N-Dekker marked this pull request as ready for review September 19, 2023 08:11
@dzenanz dzenanz merged commit 0150e46 into InsightSoftwareConsortium:master Sep 19, 2023
5 checks passed
N-Dekker added a commit to N-Dekker/ITK that referenced this pull request Nov 17, 2023
Following pull request InsightSoftwareConsortium#4217
commit 0150e46
STYLE: Rename private and internal data members from "Lock" to "Mutex"
dzenanz pushed a commit that referenced this pull request Nov 21, 2023
Following pull request #4217
commit 0150e46
STYLE: Rename private and internal data members from "Lock" to "Mutex"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:IO Issues affecting the IO module area:Numerics Issues affecting the Numerics module area:Registration Issues affecting the Registration module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants