Permalink
Browse files

Switch to HUP and v1.0

  • Loading branch information...
1 parent 188e871 commit b9a37f2b091cf6b89d95c5b064a9096093554572 @brendon9x committed Mar 20, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/quit-dump/thread_dump_signal_handler.rb
  2. +1 −1 quit-dump.gemspec
@@ -2,9 +2,9 @@
#
# Install a signal handler to dump backtraces for all threads
#
-# Trigger it with: kill -QUIT <pid>
+# Trigger it with: kill -HUP <pid>
#
-trap "QUIT" do
+trap "HUP" do
if Kernel.respond_to? :caller_for_all_threads
STDERR.puts "\n=============== Thread Dump ==============="
caller_for_all_threads.each_pair do |thread, stack|
View
@@ -2,7 +2,7 @@ require 'base64'
Gem::Specification.new do |s|
s.name = 'quit-dump'
- s.version = '0.6'
+ s.version = '1.0'
s.summary = "Install INT signal thread dumper"
s.files = Dir['lib/**/*.rb']
s.require_paths = ['lib']

0 comments on commit b9a37f2

Please sign in to comment.