Gems/EMotionFX/Code/EMotionFX/Source/MotionManager.cpp
void MotionManager::AddMotion(Motion* motion)
    {
        // wait with execution until we can set the lock
        m_lock.Lock();
        m_motions.emplace_back(motion);
        m_lock.Unlock();
    }
// add the motion to the manager
add the motion to the manager
add the motion to the manager
void MotionManager::AddMotion(Motion* motion)
    {
        m_lock.Lock();
        m_motions.emplace_back(motion);
        m_lock.Unlock();
    }
void MotionManager :: AddMotion ( Motion * motion ) { m_lock . Lock ( ) ; m_motions . emplace_back ( motion ) ; m_lock . Unlock ( ) ; }
add the motion to the manager
add the motion to the manager
// wait with execution until we can set the lock