Kernel#select() prevents exit during a signal handler
-----------------------------------------------------
Key: JRUBY-5079
URL: http://jira.codehaus.org/browse/JRUBY-5079
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.5.2
Environment: Mac OS X Snow Leopard using JRuby through RVM.
Reporter: James Edward Gray II
To see the issue, run this code:
trap("INT") do
puts "Exiting..."
exit
end
puts "Sleeping..."
select(nil, nil, nil, nil)
and press Control-C after "Sleeping..." is printed. Note that even using
exit!() does not work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email