Gems/EMotionFX/Code/EMotionFX/Source/MotionInstancePool.cpp
MotionInstance* MotionInstancePool::RequestNew(Motion* motion, ActorInstance* actorInstance)
    {
        Lock();
        MotionInstance* result = RequestNewWithoutLock(motion, actorInstance);
        Unlock();

        return result;
    }
// request a new one including lock
request a new one including lock
request a new one including lock
MotionInstance* MotionInstancePool::RequestNew(Motion* motion, ActorInstance* actorInstance)
    {
        Lock();
        MotionInstance* result = RequestNewWithoutLock(motion, actorInstance);
        Unlock();
        return result;
    }
MotionInstance * MotionInstancePool :: RequestNew ( Motion * motion , ActorInstance * actorInstance ) { Lock ( ) ; MotionInstance * result = RequestNewWithoutLock ( motion , actorInstance ) ; Unlock ( ) ; return result ; }
request a new one including lock
request a new one including lock