]> granicus.if.org Git - postgresql/commit
Introduce timed waits for condition variables.
authorThomas Munro <tmunro@postgresql.org>
Sat, 13 Jul 2019 01:40:36 +0000 (13:40 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sat, 13 Jul 2019 01:51:05 +0000 (13:51 +1200)
commit1321509fa43293615c4e5fa5dc8eed5286f479b1
treedd64fba9864ebcb574b18a51d2bd349bab1faa8c
parentb31fbe852c095a827caade2e0702f8a215053bea
Introduce timed waits for condition variables.

Provide ConditionVariableTimedSleep(), like ConditionVariableSleep()
but with a timeout argument.

Author: Shawn Debnath
Reviewed-by: Kyotaro Horiguchi, Thomas Munro
Discussion: https://postgr.es/m/eeb06007ccfe46e399df6af18bfcd15a@EX13D05UWC002.ant.amazon.com
src/backend/storage/lmgr/condition_variable.c
src/include/storage/condition_variable.h