Update src/Common/ConcurrencyControl.cpp

Co-authored-by: Dmitry Novik <mrnovikd@gmail.com>
This commit is contained in:
Alexey Gerasimchuck 2023-09-12 10:10:20 +10:00 committed by GitHub
parent 60c9dd226d
commit 30c213a65e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ ConcurrencyControl::Allocation::Allocation(ConcurrencyControl & parent_, SlotCou
*waiter = this;
}
// Grant single slot to allocation, returns true if more slot(s) are required
// Grant single slot to allocation returns true iff more slot(s) are required
bool ConcurrencyControl::Allocation::grant()
{
std::unique_lock lock{mutex};