Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Switch to HUP and v1.0

  • Loading branch information...
commit b9a37f2b091cf6b89d95c5b064a9096093554572 1 parent 188e871
@brendon9x authored
View
4 lib/quit-dump/thread_dump_signal_handler.rb
@@ -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  quit-dump.gemspec
@@ -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']
Please sign in to comment.
Something went wrong with that request. Please try again.