예제 #1
0
    def force_stop(self):
        AbstractRole.force_stop(self)

        for thread in self.threads:
            thread.terminate()

        for thread in self.threads:
            thread.join()
예제 #2
0
파일: Role.py 프로젝트: bloveing/openulteo
	def force_stop(self):
		AbstractRole.force_stop(self)
		
		for thread in self.threads:
			thread.terminate()
		
		for thread in self.threads:
			thread.join()
예제 #3
0
파일: Role.py 프로젝트: poorboy/openulteo
	def force_stop(self):
		AbstractRole.force_stop(self)
		
		for vm in self.virtual_machine :
			vm = self.virtual_machine[vm]
			
			if vm.getStatus() == "RUNNING" :
				vm.shutdown()
				
		self.webserver.server_close()
예제 #4
0
파일: Role.py 프로젝트: bloveing/openulteo
	def force_stop(self):
		AbstractRole.force_stop(self)
		self.server.shutdown()
		for pid in list(self.processes):
			self.kill_process(pid)
예제 #5
0
 def force_stop(self):
     AbstractRole.force_stop(self)
     self.server.shutdown()
     for pid in list(self.processes):
         self.kill_process(pid)