Add missing pthread_barrier_t.
authorThomas Munro <tmunro@postgresql.org>
Wed, 10 Mar 2021 02:40:17 +0000 (15:40 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 10 Mar 2021 04:44:04 +0000 (17:44 +1300)
commit44bf3d5083e151d772c5d6f656e3e162f573dced
tree9f2781e6f02ea80702d526babff64726197b51ec
parent547f04e7348b6ed992bd4a197d39661fe7c25097
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
configure
configure.ac
src/include/pg_config.h.in
src/include/port/pg_pthread.h [new file with mode: 0644]
src/port/pthread_barrier_wait.c [new file with mode: 0644]
src/tools/msvc/Solution.pm
src/tools/pgindent/typedefs.list