ruby-changes:49812
From: shyouhei <ko1@a...>
Date: Thu, 18 Jan 2018 23:31:43 +0900 (JST)
Subject: [ruby-changes:49812] shyouhei:r61926 (trunk): raise_closed_queue_error marked as NORETURN
shyouhei 2018-01-18 18:44:47 +0900 (Thu, 18 Jan 2018) New Revision: 61926 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61926 Log: raise_closed_queue_error marked as NORETURN Modified files: trunk/thread_sync.c Index: thread_sync.c =================================================================== --- thread_sync.c (revision 61925) +++ thread_sync.c (revision 61926) @@ -646,6 +646,8 @@ queue_closed_p(VALUE self) https://github.com/ruby/ruby/blob/trunk/thread_sync.c#L646 return FL_TEST_RAW(self, QUEUE_CLOSED) != 0; } +NORETURN(static void raise_closed_queue_error(VALUE self)); + static void raise_closed_queue_error(VALUE self) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/