diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-14 13:09:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-14 13:09:47 +0000 |
commit | af5c7ec2dbabbf38f5c40589f9ae3a4396a8e07e (patch) | |
tree | 7553023c045cea993f8d1c9845de3e3c1e0df3a9 /eval.c | |
parent | 74d5bc6603cdca9de12c3e9e8afe4971f89c1040 (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11738,6 +11738,9 @@ rb_thread_raise(argc, argv, th) { volatile rb_thread_t th_save = th; + if (!th->next) { + rb_raise(rb_eArgError, "unstarted thread"); + } if (rb_thread_dead(th)) return Qnil; if (curr_thread == th) { rb_f_raise(argc, argv); |