5 threads didn't exit

Hello
I get this mesg whenever an i interrupt a Ruby program. How do i
determine what these threads are e:/ruby/lib/ruby/1.8/date/format.rb:
959:in _parse': Interrupt from e:/ruby/lib/ruby/1.8/time.rb:240:inparse’
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
236:in pr intPictures' from E:\TradingTools\torontotrader\app\helpers\printTrades.rb: 235:inea
ch’
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
235:in pr intPictures' from E:/TradingTools/torontotrader/app/models/picture.rb:24:inimportPi
cture’
from importtrade.rb:228:in `unitTestPrinting’
from importtrade.rb:248
Error in my_thread_global_end(): 5 threads didn’t exit

On 09.12.2007 02:58, Junkone wrote:

ch’
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
235:in pr intPictures' from E:/TradingTools/torontotrader/app/models/picture.rb:24:inimportPi
cture’
from importtrade.rb:228:in `unitTestPrinting’
from importtrade.rb:248
Error in my_thread_global_end(): 5 threads didn’t exit

If your program is to handle interrupts gracefully, I’d set up a signal
handler for SIGINT and use that for proper shutdown or whatever you want
to do.

Kind regards

robert

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs