MCPcopy Create free account
hub / github.com/Tong89/smartNode / start_simulation

Method start_simulation

backend/core.py:580–584  ·  view source on GitHub ↗

启动仿真线程

(self)

Source from the content-addressed store, hash-verified

578 return self
579
580 def start_simulation(self):
581 """启动仿真线程"""
582 self.running = True
583 self.simulation_thread = threading.Thread(target=self._simulation_loop, daemon=True)
584 self.simulation_thread.start()
585
586 def _simulation_loop(self):
587 """仿真主循环"""

Callers 2

__init__Method · 0.95
resume_from_snapshotMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected