5 threads didn't exit

J

Junkone

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:in `parse'
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
236:in `pr
intPictures'
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
235:in `ea
ch'
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
235:in `pr
intPictures'
from E:/TradingTools/torontotrader/app/models/picture.rb:24:in
`importPi
cture'
from importtrade.rb:228:in `unitTestPrinting'
from importtrade.rb:248
Error in my_thread_global_end(): 5 threads didn't exit
 
R

Robert Klemme

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:in `parse'
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
236:in `pr
intPictures'
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
235:in `ea
ch'
from E:\TradingTools\torontotrader\app\helpers\printTrades.rb:
235:in `pr
intPictures'
from E:/TradingTools/torontotrader/app/models/picture.rb:24:in
`importPi
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,274
Messages
2,571,365
Members
48,048
Latest member
Carson62C3

Latest Threads

Top