Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ai5Pk-0005wa-No for pgsql-committers@arkaria.postgresql.org; Mon, 21 Mar 2016 19:22:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ai5Pj-0001d3-VV for pgsql-committers@arkaria.postgresql.org; Mon, 21 Mar 2016 19:22:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ai5MN-0000ps-RI for pgsql-committers@postgresql.org; Mon, 21 Mar 2016 19:19:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ai5ML-0004Zi-8e for pgsql-committers@postgresql.org; Mon, 21 Mar 2016 19:19:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u2LJJMsk029188; Mon, 21 Mar 2016 15:19:22 -0400 From: Tom Lane To: Andres Freund cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Introduce WaitEventSet API. In-reply-to: References: Comments: In-reply-to Andres Freund message dated "Mon, 21 Mar 2016 11:39:53 -0000" Date: Mon, 21 Mar 2016 15:19:22 -0400 Message-ID: <29187.1458587962@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Andres Freund writes: > Introduce WaitEventSet API. Buildfarm member gaur has a quibble with this patch: latch.c:1095: warning: `WaitEventSetWaitBlock' declared inline after being called Please rearrange the file so that the inline function definitions appear first. Also, why is it that only three of the four variants are marked "inline"? Actually ... given that it's static and called in exactly one place, I would think that any compiler capable of inlining it would do so whether asked to or not. So another solution is just to get rid of all the "inline" specifiers and let the compiler do its job. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers