summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-03-10 15:39:08 +1300
committerThomas Munro <tmunro@postgresql.org>2021-03-10 17:44:04 +1300
commitb1d6a8f86813772b9198367a34c8ff8bff7fef9e (patch)
tree6330219b1d1fc1f5f9992f1d47756d7c4a94e9ef /src/backend/access/gist/gistbuildbuffers.c
parente4e87a32cc5559303068b148bd4aa6a39b8f44a1 (diff)
pgbench: Refactor thread portability support.
Instead of maintaining an incomplete emulation of POSIX threads for Windows, let's use an extremely minimalist macro-based abstraction for now. A later patch will extend this, without the need to supply more complicated pthread emulation code. (There may be a need for a more serious portable thread abstraction in later projects, but this is not it.) Minor incidental problems fixed: it wasn't OK to use (pthread_t) 0 as a special value, it wasn't OK to compare thread_t values with ==, and we incorrectly assumed that pthread functions set errno. Discussion: https://postgr.es/m/20200227180100.zyvjwzcpiokfsqm2%40alap3.anarazel.de
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions