mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue