Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more

In Files

  • thread.c

Parent

ThreadError

Raised when an invalid operation is attempted on a thread.

For example, when no other thread has been started:

Thread.stop

raises the exception:

ThreadError: stopping only thread