pg.ddx.io pgsql-hackers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Condition variable live lock
Date: Fri, 5 Jan 2018 09:05:42 -0300
Message-ID: <20180105120541.m63hwj3t3fsreayc@alvherre.pgsql> (raw)
In-Reply-To: <21761.1515132657@sss.pgh.pa.us>
Tom Lane wrote:
> Obviously, this trades a risk of loss of wakeup for a risk
> of spurious wakeup, but presumably the latter is something we can
> cope with.
I wonder if it'd be useful to have a test mode for condition variables
that spurious wakups happen randomly, to verify that every user is
prepared to cope correctly.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
view thread (31+ messages) latest in thread
Message-ID: <20180105120541.m63hwj3t3fsreayc@alvherre.pgsql> Permalink: ../20180105120541.m63hwj3t3fsreayc@alvherre.pgsql/ Also on: postgresql.org/message-id/20180105120541.m63hwj3t3fsreayc@alvherre.pgsql ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-hackers@postgresql.org Cc: alvherre@alvh.no-ip.org, tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com, andres@anarazel.de, robertmhaas@gmail.com Subject: Re: Condition variable live lock In-Reply-To: <20180105120541.m63hwj3t3fsreayc@alvherre.pgsql> References: <21761.1515132657@sss.pgh.pa.us> <20180105120541.m63hwj3t3fsreayc@alvherre.pgsql> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox