ruby
ruby copied to clipboard
Thread events hooks: Pass concerned Thread to callbacks
Let Thread event callback functions receive VALUE thread in concern. This will be a more stable way than calling gettid(2) in callbacks.
This was added in a separate PR so this should no longer be necessary https://github.com/ruby/ruby/pull/8885