[ruby/timeout] Give a name to the background thread
https://github.com/ruby/timeout/commit/5594ae2f4d
This commit is contained in:
parent
268269687c
commit
8290d76647
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user