summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--esds/simulator.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/esds/simulator.py b/esds/simulator.py
index 324541c..e775863 100644
--- a/esds/simulator.py
+++ b/esds/simulator.py
@@ -353,10 +353,10 @@ class Simulator:
f.write("Breakpoints every "+str(breakpoints_every)+"s\n")
##### Simulation loop
while True:
- # Synchronize every nodes
+ # Synchronize non-blocking api calls
for node in self.nodes:
self.sync_node_non_blocking(node)
- # Manage events
+ # Synchronize blocking api calls
for node in self.nodes:
self.sync_node_blocking(node)
# Generate debug logs
@@ -369,7 +369,7 @@ class Simulator:
for node_id in self.wait_end_nodes:
self.nodes[node_id]["state"]="running"
self.nodes[node_id].rqueue.put(("sim_end",0))
- self.sync_node_non_blocking(self.nodes[node_id]) # Allow them for make call requests (printing logs for example)
+ self.sync_node_non_blocking(self.nodes[node_id]) # Allow them for make non-blocking call requests (printing logs for example)
break # End the event processing loop
# Update simulation time