From 38f94d8edb0895ca1b7ab9207d1fcdadeefc657a Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 25 Dec 2008 09:51:48 +0000 Subject: merges r20914 from trunk into ruby_1_9_1. * thread_win32.c (Init_native_thread): need to call ruby_thread_set_native() here. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_win32.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread_win32.c') diff --git a/thread_win32.c b/thread_win32.c index 0befbff4a..684085fdb 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -50,6 +50,7 @@ Init_native_thread(void) rb_thread_t *th = GET_THREAD(); ruby_native_thread_key = TlsAlloc(); + ruby_thread_set_native(th); DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), -- cgit