diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-03-01 16:26:22 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-03-01 17:23:43 +1300 |
commit | 814f1d8bc395bb9b4c0ae090ceea60adfbeb8e49 (patch) | |
tree | bc3b72c9dfc433c280bf83f2670aab83fb364c7c /src/common/jsonapi.c | |
parent | 8bdb1332eb51837c15a10a972c179b84f654279e (diff) | |
download | postgresql-814f1d8bc395bb9b4c0ae090ceea60adfbeb8e49.tar.gz postgresql-814f1d8bc395bb9b4c0ae090ceea60adfbeb8e49.zip |
Use condition variables for ProcSignalBarriers.
Instead of a poll/sleep loop, use a condition variable for precise
wake-up whenever a backend's pss_barrierGeneration advances.
Discussion: https://postgr.es/m/CA+hUKGLdemy2gBm80kz20GTe6hNVwoErE8KwcJk6-U56oStjtg@mail.gmail.com
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions