aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/barrier.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/storage/ipc/barrier.c')
-rw-r--r--src/backend/storage/ipc/barrier.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/storage/ipc/barrier.c b/src/backend/storage/ipc/barrier.c
index 69ed034e528..83cbe33107c 100644
--- a/src/backend/storage/ipc/barrier.c
+++ b/src/backend/storage/ipc/barrier.c
@@ -226,9 +226,9 @@ BarrierAttach(Barrier *barrier)
}
/*
- * Detach from a barrier. This may release other waiters from BarrierWait and
- * advance the phase if they were only waiting for this backend. Return true
- * if this participant was the last to detach.
+ * Detach from a barrier. This may release other waiters from
+ * BarrierArriveAndWait() and advance the phase if they were only waiting for
+ * this backend. Return true if this participant was the last to detach.
*/
bool
BarrierDetach(Barrier *barrier)