зеркало из https://github.com/github/ruby.git
* thread.c (rb_thread_execute_interrupts): use GetThreadPtr to extract
rb_thread_t from VALUE. reorted by Motohiro KOSAKI. [ruby-dev:43700] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2e29d255d3
Коммит
71fdb43e6e
|
@ -1,3 +1,9 @@
|
|||
Sat Jun 11 10:15:50 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* thread.c (rb_thread_execute_interrupts): use GetThreadPtr to extract
|
||||
rb_thread_t from VALUE.
|
||||
reorted by Motohiro KOSAKI. [ruby-dev:43700]
|
||||
|
||||
Sat Jun 11 10:00:49 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (ruby_process_options): add missing return type.
|
||||
|
|
6
thread.c
6
thread.c
|
@ -1360,9 +1360,11 @@ rb_threadptr_execute_interrupts(rb_thread_t *th)
|
|||
}
|
||||
|
||||
void
|
||||
rb_thread_execute_interrupts(VALUE th)
|
||||
rb_thread_execute_interrupts(VALUE thval)
|
||||
{
|
||||
rb_threadptr_execute_interrupts_rec((rb_thread_t *)th, 0);
|
||||
rb_thread_t *th;
|
||||
GetThreadPtr(thval, th);
|
||||
rb_threadptr_execute_interrupts_rec(th, 0);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче