mirror of
https://github.com/postgres/postgres.git
synced 2026-04-28 09:38:27 -04:00
Improve header comment for WaitLSNSetLatches()
Reflect the fact that we remove waiters from the heap, not just set their latches.
This commit is contained in:
parent
867d396ccd
commit
3ac3ec580c
1 changed files with 3 additions and 2 deletions
|
|
@ -147,8 +147,9 @@ deleteLSNWaiter(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set latches of LSN waiters whose LSN has been replayed. Set latches of all
|
* Remove waiters whose LSN has been replayed from the heap and set their
|
||||||
* LSN waiters when InvalidXLogRecPtr is given.
|
* latches. If InvalidXLogRecPtr is given, remove all waiters from the heap
|
||||||
|
* and set latches for all waiters.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
WaitLSNSetLatches(XLogRecPtr currentLSN)
|
WaitLSNSetLatches(XLogRecPtr currentLSN)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue