summaryrefslogtreecommitdiffstats
path: root/thread_pthread.ci
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-12 01:19:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-12 01:19:18 +0000
commit5638529195398ef10d3e02053cbde44a5c2ff2da (patch)
tree57d520f3becfea770d960e0a26eda60b3db104a5 /thread_pthread.ci
parent1949b29b436becd04c828d4c1b50f5c9b2127da9 (diff)
downloadruby-5638529195398ef10d3e02053cbde44a5c2ff2da.tar.gz
ruby-5638529195398ef10d3e02053cbde44a5c2ff2da.tar.xz
ruby-5638529195398ef10d3e02053cbde44a5c2ff2da.zip
* thread_pthread.ci (thread_start_func_2): not use a directive inside
a macro argument. [ruby-talk:258763] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r--thread_pthread.ci12
1 files changed, 1 insertions, 11 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci
index 18f357711..0f91a8606 100644
--- a/thread_pthread.ci
+++ b/thread_pthread.ci
@@ -86,12 +86,6 @@ Init_native_thread()
posix_signal(SIGVTALRM, null_func);
}
-NOINLINE(static int thread_start_func_2(rb_thread_t *th, VALUE *stack_start
-#ifdef __ia64
- , VALUE *register_stack_start
-#endif
-));
-
static void
native_thread_destroy(rb_thread_t *th)
{
@@ -111,11 +105,7 @@ thread_start_func_1(void *th_ptr)
VALUE stack_start;
/* run */
- thread_start_func_2(th, &stack_start
-#ifdef __ia64
- , rb_ia64_bsp()
-#endif
- );
+ thread_start_func_2(th, &stack_start, rb_ia64_bsp());
}
#if USE_THREAD_CACHE
if (1) {