Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* thread_win32.c (Init_native_thread): need to call

	  ruby_thread_set_native() here.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit b451955bbb53f773186c3f2b80506ef5bbf9dfb6 1 parent 3be4523
@unak unak authored
Showing with 6 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +1 −0  thread_win32.c
View
5 ChangeLog
@@ -1,3 +1,8 @@
+Mon Dec 22 19:10:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * thread_win32.c (Init_native_thread): need to call
+ ruby_thread_set_native() here.
+
Mon Dec 22 18:00:36 2008 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/tcltklib.c: fix wrong flag value.
View
1  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(),
Please sign in to comment.
Something went wrong with that request. Please try again.