Project

General

Profile

Actions

Bug #6128

closed

Thread#run does not work within signal handler

Added by mperham (Mike Perham) about 10 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
Backport:
[ruby-core:43168]

Description

If I stop Thread.main, calling Thread.main.run in a signal handler does not wake up the main thread.

Please see this gist with a simple reproducible example:
https://gist.github.com/2014773

Actions

Also available in: Atom PDF