diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-22 10:12:02 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-22 10:12:02 +0000 |
| commit | 4492f124b77d4d9e18d65633b36eec69967fbdc1 (patch) | |
| tree | 41c28abecc03311c66aa22327d1f0d7fa7b8bac3 | |
| parent | 4becf232dccb9bcabaf54533be0d83f69d759705 (diff) | |
| download | ruby-4492f124b77d4d9e18d65633b36eec69967fbdc1.tar.gz ruby-4492f124b77d4d9e18d65633b36eec69967fbdc1.tar.xz ruby-4492f124b77d4d9e18d65633b36eec69967fbdc1.zip | |
* thread_win32.c (Init_native_thread): need to call
ruby_thread_set_native() here.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | thread_win32.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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. 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(), |
