mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
3be4523bde
commit
b451955bbb
2 changed files with 6 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue