diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-03-01 16:28:12 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-03-01 17:24:47 +1300 |
commit | f5a5773a9dc4185414fe538525e20d8512c2ba35 (patch) | |
tree | 1ccd54e64409d6197720f5e8fa64cccae5addc95 /src/common/jsonapi.c | |
parent | 814f1d8bc395bb9b4c0ae090ceea60adfbeb8e49 (diff) | |
download | postgresql-f5a5773a9dc4185414fe538525e20d8512c2ba35.tar.gz postgresql-f5a5773a9dc4185414fe538525e20d8512c2ba35.zip |
Allow condition variables to be used in interrupt code.
Adjust the condition variable sleep loop to work correctly when code
reached by its internal CHECK_FOR_INTERRUPTS() call interacts with
another condition variable.
There are no such cases currently, but a proposed patch would do this.
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