If I do the following:
threads = []
threads[0] << Thread.new do
while true
# some code
end
end
Will this kill off the first thread?
threads[0] << Thread.new do
while true
# some more code
end
end
Will the second assignment kill off the first thread? Or will that
first thread keep going and never stop unless i explicitly kill it
using the Thread.kill method?
Thanks for your help.
Thank You,
Ben J.
E: [email protected]