def insert()

in confidence-shared/shared.py [0:0]


    def insert(self, obj):
        with self._lock:
            handle = next(self._counter)
            self._map[handle] = obj
            return handle