mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rb_threadptr_to_kill marked as NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9d792adbd3
commit
3b787be52f
1 changed files with 2 additions and 0 deletions
2
thread.c
2
thread.c
|
@ -2038,6 +2038,8 @@ rb_thread_s_pending_interrupt_p(int argc, VALUE *argv, VALUE self)
|
||||||
return rb_thread_pending_interrupt_p(argc, argv, GET_THREAD()->self);
|
return rb_thread_pending_interrupt_p(argc, argv, GET_THREAD()->self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NORETURN(static void rb_threadptr_to_kill(rb_thread_t *th));
|
||||||
|
|
||||||
static void
|
static void
|
||||||
rb_threadptr_to_kill(rb_thread_t *th)
|
rb_threadptr_to_kill(rb_thread_t *th)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue