class

ThreadError

v1_9_2_180 - Show latest stable - Superclass: StandardError

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

Files

  • lib/thread.rb
  • thread.c