Please refer to https://www.ruby-forum.com/topic/143840 for background.
The consensus in that thread appears to be that Thread#raise,
Thread#kill, and timeout.rb are unsafe.
Aside from the issue of providing safe alternatives, would it not be a
great service to the Ruby community, especially newcomers, to document
this lack of safety in the relevant classes?
If such documentation is thought to be worthwhile and we can agree on
suitable wording, I will happily submit a pull request.
Here’s a first draft of the wording: