K
kingsley
Hi
When I do this:
thr3 = Thread.new() do
loop do
puts \"thread\"
end
end
The loop only lasts for about 5 seconds - printing out \'thread\' about
100 times
what I want is an infinite loop - like this, which works (except I want
my infinite loop to be contained within a thread)
loop do
puts \"works\"
end
Please help
Thanks
Kingsley
When I do this:
thr3 = Thread.new() do
loop do
puts \"thread\"
end
end
The loop only lasts for about 5 seconds - printing out \'thread\' about
100 times
what I want is an infinite loop - like this, which works (except I want
my infinite loop to be contained within a thread)
loop do
puts \"works\"
end
Please help
Thanks
Kingsley