-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
http://blog.headius.com/2008/02/rubys-threadraise-threadkill-timeoutrb.html
Although you don't have to take my word for it, eventually you're going to have to accept the truth. Thread#kill, Thread#raise, timeout.rb, net/protocol.rb all suffer from these problems. net/protocol.rb could be fixed to use nonblocking IO (select), as could I suspect most of the other libraries, but there is no safe way to use Thread#kill or Thread#raise. Let me repeat that: there is no safe way to use Thread#kill or Thread#raise.
Has anything changed since 2008? Is it really safe to use this gem?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels