Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbudd-0005EP-RP for pgsql-committers@arkaria.postgresql.org; Thu, 09 Feb 2017 19:44:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cbudd-0003pT-EI for pgsql-committers@arkaria.postgresql.org; Thu, 09 Feb 2017 19:44:17 +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 1cbudP-0003LR-HS for pgsql-committers@postgresql.org; Thu, 09 Feb 2017 19:44:03 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cbud2-0002zv-4x for pgsql-committers@postgresql.org; Thu, 09 Feb 2017 19:44:02 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cbud1-0002aJ-Tv for pgsql-committers@postgresql.org; Thu, 09 Feb 2017 19:43:39 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.84_2) (envelope-from ) id 1cbud1-0003Gk-Hl for pgsql-committers@postgresql.org; Thu, 09 Feb 2017 19:43:39 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Robert Haas Subject: pgsql: Fix race condition in ConditionVariablePrepareToSleep. Message-Id: Date: Thu, 09 Feb 2017 19:43:39 +0000 X-Pg-Spam-Score: -6.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 Rml4IHJhY2UgY29uZGl0aW9uIGluIENvbmRpdGlvblZhcmlhYmxlUHJlcGFy ZVRvU2xlZXAuCgpUaG9tYXMgTXVucm8KCkJyYW5jaAotLS0tLS0KbWFzdGVy CgpEZXRhaWxzCi0tLS0tLS0KaHR0cDovL2dpdC5wb3N0Z3Jlc3FsLm9yZy9w Zy9jb21taXRkaWZmLzNmM2Q2MGQzYmJkMTBmNmNjMTE4ZDI0YWFkYzYwZTk2 Yjk4NTQ1NzYKCk1vZGlmaWVkIEZpbGVzCi0tLS0tLS0tLS0tLS0tCnNyYy9i YWNrZW5kL3N0b3JhZ2UvbG1nci9jb25kaXRpb25fdmFyaWFibGUuYyB8IDkg KysrKysrLS0tCjEgZmlsZSBjaGFuZ2VkLCA2IGluc2VydGlvbnMoKyksIDMg ZGVsZXRpb25zKC0pCgoKLS0gClNlbnQgdmlhIHBnc3FsLWNvbW1pdHRlcnMg bWFpbGluZyBsaXN0IChwZ3NxbC1jb21taXR0ZXJzQHBvc3RncmVzcWwub3Jn KQpUbyBtYWtlIGNoYW5nZXMgdG8geW91ciBzdWJzY3JpcHRpb246Cmh0dHA6 Ly93d3cucG9zdGdyZXNxbC5vcmcvbWFpbHByZWYvcGdzcWwtY29tbWl0dGVy cwo=