1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-09 22:41:56 +03:00

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
This commit is contained in:
Thomas Munro
2021-03-10 15:40:17 +13:00
parent 547f04e734
commit 44bf3d5083
7 changed files with 196 additions and 0 deletions

View File

@ -333,6 +333,7 @@ sub GenerateFiles
HAVE_PSTAT => undef,
HAVE_PS_STRINGS => undef,
HAVE_PTHREAD => undef,
HAVE_PTHREAD_BARRIER_WAIT => undef,
HAVE_PTHREAD_IS_THREADED_NP => undef,
HAVE_PTHREAD_PRIO_INHERIT => undef,
HAVE_PWRITE => undef,

View File

@ -3295,6 +3295,7 @@ proclist_mutable_iter
proclist_node
promptStatus_t
pthread_attr_t
pthread_barrier_t
pthread_key_t
pthread_mutex_t
pthread_once_t