Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

In Files

  • thread.c

Parent

Class/Module Index [+]

Quicksearch
toggle debugging

ThreadError

Raised when an invalid operation is attempted on a thread.

For example, when no other thread has been started:

Thread.stop

This will raises the following exception:

ThreadError: stopping only thread
note: use sleep to stop forever