@lock_host
        def targets(self, target_ids=None):
            # initialise returned data
            targets = []

            # if we didn't get any target IDs, get info for all targets
            if not target_ids:
                n = self.host.GetNumTargets()
                target_ids = range(n)

            # iterate through targets
            log.debug("Getting info for {} targets".format(len(target_ids)))
            for i in target_ids:
                targets.append(self._target(i))

            return targets
This is the same as NotifyQueue but for several session_ids at once.
dataset/ETHPy150Open snare/voltron/voltron/plugins/debugger/dbg_lldb.py/LLDBAdaptor.targets--crossover with--dataset/ETHPy150Open google/grr/grr/lib/queue_manager.py/QueueManager.MultiNotifyQueue