Fix error handling in replacement pthread_barrier_init().
Thomas Munro <tmunro@postgresql.org>
Fix error handling in replacement pthread_barrier_init(). Commit 44bf3d50 incorrectly used an errno-style interface when supplying missing pthread functionality (i.e. on macOS), but it should check for and return error numbers directly.
Files
| Path | Change | +/− |
|---|---|---|
| src/port/pthread_barrier_wait.c | modified | +6 −8 |