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-u56ost...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f5a5773a9dc4185414fe538525e20d8512c2ba35 Modified Files -------------- src/backend/storage/lmgr/condition_variable.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
