I
Im still
[Note: parts of this message were removed to make it a legal post.]
hi
when im running a code like this
a = 0
Thread.start{
while true
puts "#{a+=1}"
end
}
This will be terminated automatically but wont keep on looping as expected.
And by my test, the running result will always terminated while a = 41.means
after putting "41" it stops.
Im doing this in windows vista. I dont know if its OS related issue or not.
or maybe im doing wrong ? anyone can tell me?
hi
when im running a code like this
a = 0
Thread.start{
while true
puts "#{a+=1}"
end
}
This will be terminated automatically but wont keep on looping as expected.
And by my test, the running result will always terminated while a = 41.means
after putting "41" it stops.
Im doing this in windows vista. I dont know if its OS related issue or not.
or maybe im doing wrong ? anyone can tell me?