I need make my application execute 5 operations in the same time, for
that i make the class Operation and extends to Thread, make method do
and its work fine buts when i start the threads they don’t run all in
the same time.
To run i make
t1 = Operation.new
t2 = Operation.new
t3 = Operation.new
t4 = Operation.new
t5 = Operation.new
I’m doing something wrong ? Why the threads don’t run all the same time?