summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-03 08:56:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-03 08:56:50 +0000
commit1e1b5cdd25c87b393658e78a4cfd799ef6caf6da (patch)
tree8b107b0266c998b53976f4641ba30229aafd4eb7 /eval.c
parente07498c03f002224ca14cb55eeeaacbab300b273 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 833b9b0..de6da1d 100644
--- a/eval.c
+++ b/eval.c
@@ -7366,7 +7366,7 @@ rb_thread_join(thread)
if (!rb_thread_dead(th)) {
if (th == curr_thread)
- rb_raise(rb_eThreadError, "recursive join");
+ rb_raise(rb_eThreadError, "thread tried to join itself");
if ((th->wait_for & WAIT_JOIN) && th->join == curr_thread)
rb_raise(rb_eThreadError, "Thread#join: deadlock - mutual join");
curr_thread->status = THREAD_STOPPED;