summaryrefslogtreecommitdiff
path: root/thread_win32.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
commit0fcf8e17aaea1b5562a89c3aed24c2e722b38a66 (patch)
tree57d520f3becfea770d960e0a26eda60b3db104a5 /thread_win32.ci
parent2e4f2aaaf0e9e245db7f5d2596b4aef4ec0406f8 (diff)
* thread_pthread.ci (thread_start_func_2): not use a directive inside
a macro argument. [ruby-talk:258763] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.ci')
-rw-r--r--thread_win32.ci5
1 files changed, 1 insertions, 4 deletions
diff --git a/thread_win32.ci b/thread_win32.ci
index 1a0ef7d71d..ca4241b9e9 100644
--- a/thread_win32.ci
+++ b/thread_win32.ci
@@ -280,9 +280,6 @@ native_mutex_destroy(rb_thread_lock_t *lock)
}
-NOINLINE(static int
- thread_start_func_2(rb_thread_t *th, VALUE *stack_start));
-
static void
native_thread_destroy(rb_thread_t *th)
{
@@ -304,7 +301,7 @@ thread_start_func_1(void *th_ptr)
/* run */
thread_debug("thread created (th: %p, thid: %p, event: %p)\n", th,
th->thread_id, th->native_thread_data.interrupt_event);
- thread_start_func_2(th, &stack_start);
+ thread_start_func_2(th, &stack_start, 0);
w32_close_handle(thread_id);
thread_debug("thread deleted (th: %p)\n", th);