diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-08 04:58:32 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-08 04:58:32 +0000 |
commit | fecc53f0ecbcc514a63d7f3eba3ee0342bbe870d (patch) | |
tree | 889ae8454d6b27fb4b80b87e3849630764c07ce3 /thread.c | |
parent | e9650c0b077707168095891af6419ca148b94b38 (diff) |
* error.c: RDoc for subclasses of Exception. [ruby-core:28394]
* cont.c: ditto
* enumerator.c: ditto
* io.c: ditto
* math.c: ditto
* numeric.c: ditto
* proc.c: ditto
* re.c: ditto
* thread.c: ditto
* transcode.c: ditto. Thanks to Run Paint for some of the documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -4127,6 +4127,20 @@ rb_thread_backtrace_m(VALUE thval) } /* + * Document-class: ThreadError + * + * Raised when an invalid operation is attempted on a thread. + * + * For example, when no other thread has been started: + * + * Thread.stop + * + * <em>raises the exception:</em> + * + * ThreadError: stopping only thread + */ + +/* * +Thread+ encapsulates the behavior of a thread of * execution, including the main thread of the Ruby script. * |