

def _add_to_cache(cache, lock, key, value):
    lock.acquire()
    cache[key] = value
    lock.release()

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/src/rosbridge_library/internal/ros_loader.py _add_to_cache/original