SimControl 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/SimControl/controller.rb +6 -6
- data/lib/SimControl/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
@@ -27,16 +27,16 @@ module SimControl
|
|
27
27
|
|
28
28
|
host_scenarios = @hosts.partition(all_scenarios, @hostname)
|
29
29
|
|
30
|
+
threads = []
|
30
31
|
host_scenarios.each do |scenarios_per_core|
|
31
|
-
threads
|
32
|
-
|
33
|
-
threads << Thread.new do
|
32
|
+
threads << Thread.new do
|
33
|
+
scenarios_per_core.each do |scenario|
|
34
34
|
current_simulation.simulate(scenario, seeds)
|
35
35
|
end
|
36
36
|
end
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
end
|
38
|
+
threads.each do |thread|
|
39
|
+
thread.join
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
data/lib/SimControl/version.rb
CHANGED