pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Add missing pthread_barrier_t.
2+ messages / 2 participants
[nested] [flat]
* pgsql: Add missing pthread_barrier_t.
@ 2021-03-10 04:52 Thomas Munro <tmunro@postgresql.org>
2022-01-26 20:43 ` Re: pgsql: Add missing pthread_barrier_t. John Naylor <john.naylor@enterprisedb.com>
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Munro @ 2021-03-10 04:52 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Add missing pthread_barrier_t.
Supply a simple implementation of the missing pthread_barrier_t type and
functions, for macOS.
Discussion: https://postgr.es/m/20200227180100.zyvjwzcpiokfsqm2%40alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/44bf3d5083e151d772c5d6f656e3e162f573dced
Modified Files
--------------
configure | 69 +++++++++++++++++++++++++++++++++++
configure.ac | 2 +
src/include/pg_config.h.in | 3 ++
src/include/port/pg_pthread.h | 41 +++++++++++++++++++++
src/port/pthread_barrier_wait.c | 79 ++++++++++++++++++++++++++++++++++++++++
src/tools/msvc/Solution.pm | 1 +
src/tools/pgindent/typedefs.list | 1 +
7 files changed, 196 insertions(+)
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pgsql: Add missing pthread_barrier_t.
2021-03-10 04:52 pgsql: Add missing pthread_barrier_t. Thomas Munro <tmunro@postgresql.org>
@ 2022-01-26 20:43 ` John Naylor <john.naylor@enterprisedb.com>
0 siblings, 0 replies; 2+ messages in thread
From: John Naylor @ 2022-01-26 20:43 UTC (permalink / raw)
To: Thomas Munro <tmunro@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org
On Tue, Mar 9, 2021 at 11:52 PM Thomas Munro <tmunro@postgresql.org> wrote:
>
> Add missing pthread_barrier_t.
>
> Supply a simple implementation of the missing pthread_barrier_t type and
> functions, for macOS.
>
> Discussion: https://postgr.es/m/20200227180100.zyvjwzcpiokfsqm2%40alap3.anarazel.de
>
> Branch
> ------
> master
Hi,
I've identified this commit in a git bisect that is related to
something strange: Before this commit, an Arch linux-based machine I
have gives this error when building:
/usr/bin/ld: port/pg_sema.o: undefined reference to symbol
'sem_post@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/libpthread.so.0: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
I figured there must be something broken on my end, but wanted to
mention it here in case something bigger is going on.
--
John Naylor
EDB: http://www.enterprisedb.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-01-26 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 04:52 pgsql: Add missing pthread_barrier_t. Thomas Munro <tmunro@postgresql.org>
2022-01-26 20:43 ` John Naylor <john.naylor@enterprisedb.com>
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