lib/transporter/parallelizer.rb in myreplicator-0.0.16 vs lib/transporter/parallelizer.rb in myreplicator-0.0.17
- old
+ new
@@ -1,6 +1,14 @@
require "thread"
+##
+# Executes given Procs in parallel using mulltiple threads
+# Execution are closed under the Transporter class, i.e. all
+# Transporter methods are accessible
+# Worker threads are managed by another thread which parallizes the process
+# even further using the max_threads option.
+##
+
module Myreplicator
class Parallelizer
attr_accessor :queue