diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-05 23:26:43 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-05 23:26:43 +0000 |
commit | f40d2c967005e49914046bbc6a7a8c06c46b1d38 (patch) | |
tree | 557f5f561362ffa068ab83981fdf9be724916d19 /thread_win32.c | |
parent | 60d6d93b28da4686ee83632750ffa8df75988659 (diff) | |
download | bundler-f40d2c967005e49914046bbc6a7a8c06c46b1d38.tar.gz |
* vm.c (Init_BareVM): call Init_native_thread here.
* thread.c (Init_Thread): don't call Init_native_thread.
* thread_pthread.c (Init_native_thread): exported.
* thread_win32.c (Init_native_thread): ditto.
[ruby-dev:41536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r-- | thread_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c index ec5a4e8769..1391bece54 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -44,7 +44,7 @@ ruby_thread_set_native(rb_thread_t *th) return TlsSetValue(ruby_native_thread_key, th); } -static void +void Init_native_thread(void) { rb_thread_t *th = GET_THREAD(); |