From 8290d76647f8db9df6d18c654d723b14cf0b3507 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Wed, 13 Jul 2022 13:48:21 +0200 Subject: [ruby/timeout] Give a name to the background thread https://github.com/ruby/timeout/commit/5594ae2f4d --- lib/timeout.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/timeout.rb') diff --git a/lib/timeout.rb b/lib/timeout.rb index 95dd1490ae..2aad1d7465 100644 --- a/lib/timeout.rb +++ b/lib/timeout.rb @@ -120,6 +120,7 @@ module Timeout requests.reject!(&:done?) end end + watcher.name = "Timeout stdlib thread" watcher.thread_variable_set(:"\0__detached_thread__", true) watcher end -- cgit v1.2.3