diff options
author | Thomas Munro <tmunro@postgresql.org> | 2020-07-30 17:23:32 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2020-07-30 17:42:45 +1200 |
commit | e2d394df5df28ab5ee4bfac6b13837e99e24045d (patch) | |
tree | 05aafff298d20c9bedc55c723826554bb762403f /src/backend/access/gist/gistbuild.c | |
parent | 3347c982bab0dd56d5b6cb784521233ba2bbac27 (diff) | |
download | postgresql-e2d394df5df28ab5ee4bfac6b13837e99e24045d.tar.gz postgresql-e2d394df5df28ab5ee4bfac6b13837e99e24045d.zip |
Use WaitLatch() for condition variables.
Previously, condition_variable.c created a long lived WaitEventSet to
avoid extra system calls. WaitLatch() now uses something similar
internally, so there is no point in wasting an extra kernel descriptor.
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/CA%2BhUKGJAC4Oqao%3DqforhNey20J8CiG2R%3DoBPqvfR0vOJrFysGw%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions