Project

General

Profile

Actions

Feature #1952

closed

cannot stop with Ctrl+C

Feature #1952: cannot stop with Ctrl+C

Added by usa (Usaku NAKAMURA) about 17 years ago. Updated almost 14 years ago.

Status:
Closed
Target version:
[ruby-dev:39107]

Description

=begin
以下のスクリプトがCtrl+Cで停止せず、Ctrl+C押下後はkill -9でしか殺せません。

Thread.new do
begin
begin
sleep
ensure
raise
end
rescue
retry
end
end.join
=end


Related issues 6 (0 open — 6 closed)

Related to Ruby - Bug #1963: redo'ing deadlock causes [BUG]ClosedActions
Related to Backport191 - Backport #2948: failing test - test_thread.rb in ruby 1.9.1 p378 on linux redhatClosedyugui (Yuki Sonoda)Actions
Related to Ruby - Bug #2558: r24591 causes SegfaultClosedActions
Related to Ruby - Bug #4285: Ruby don't have asynchrounous exception safe syntax and It should have.Closedko1 (Koichi Sasada)Actions
Related to Ruby - Bug #6131: Ctrl-C handler do not work from exec process (Windows)Closedh.shirosaki (Hiroshi Shirosaki)Actions
Related to Ruby - Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しないClosedkosaki (Motohiro KOSAKI)Actions
Actions

Also available in: PDF Atom