summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-21 23:36:21 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-21 23:36:21 +0000
commitfdad216c7a54568e340520a223c5d01d8e466e31 (patch)
tree76d8cab4c3fa0026559287b9edab41e071f4cde6 /eval.c
parent8aec1c9e8cf8cc8fb66ea28c0ea241e27e02f2ca (diff)
* eval.c (rb_kill_thread): renamed in order to get rid of conflict
with a BeOS system function. [ruby-core:10830] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eval.c b/eval.c
index a118e7e615..56a4bd11a2 100644
--- a/eval.c
+++ b/eval.c
@@ -11268,7 +11268,7 @@ rb_thread_run(thread)
static void
-kill_thread(th, flags)
+rb_kill_thread(th, flags)
rb_thread_t th;
int flags;
{
@@ -11303,7 +11303,7 @@ rb_thread_kill(thread)
{
rb_thread_t th = rb_thread_check(thread);
- kill_thread(th, 0);
+ rb_kill_thread(th, 0);
return thread;
}
@@ -11326,7 +11326,7 @@ rb_thread_kill_bang(thread)
VALUE thread;
{
rb_thread_t th = rb_thread_check(thread);
- kill_thread(th, THREAD_NO_ENSURE);
+ rb_kill_thread(th, THREAD_NO_ENSURE);
return thread;
}