def _stop_child_threads(self, name=None):
        child_threads = self._child_thread_map.items()
        for thread_name, thread in child_threads:
            if not name or thread_name is name:
                LOG.debug('%s: Stopping child thread %s',
                          self.name, thread_name)
                thread.kill()
                self._child_thread_map.pop(thread_name, None)
Close stdin, stderr and stdout.
dataset/ETHPy150Open osrg/ryu/ryu/services/protocols/bgp/base.py/Activity._stop_child_threads--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/interfaces.py/IProcessTransport.loseConnection