pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix new pthread code to respect --disable-thread-safety.
Date: Sat, 13 Mar 2021 04:23:01 +0000
Message-ID: <E1lKvnp-0000Xs-Qb@gemulon.postgresql.org> (raw)

Fix new pthread code to respect --disable-thread-safety.

Don't try to compile src/port/pthread_barrier_wait.c if we opted out of
threads at configure time.  Revealed by build farm member gaur, which
can't compile this code because of problems with its pthread
implementation.  It shouldn't be trying to, because it's using
--disable-thread-safety.

Defect in commit 44bf3d50.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/2568537.1615603606%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/de91c3b976cfacddacd45a9b52046264c0e44b11

Modified Files
--------------
configure    | 145 +++++++++++++++++++++++++++++++----------------------------
configure.ac |  10 ++++-
2 files changed, 84 insertions(+), 71 deletions(-)



Message-ID: <E1lKvnp-0000Xs-Qb@gemulon.postgresql.org>
Permalink:  ../E1lKvnp-0000Xs-Qb@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lKvnp-0000Xs-Qb@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Fix new pthread code to respect --disable-thread-safety.
  In-Reply-To: <E1lKvnp-0000Xs-Qb@gemulon.postgresql.org>
  References: <E1lKvnp-0000Xs-Qb@gemulon.postgresql.org>

* 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