From 9b646b41d5dbb4a4f5af9be70101410ce1eab4a2 Mon Sep 17 00:00:00 2001 From: Sergei Trifonov Date: Thu, 1 Feb 2024 13:52:56 +0100 Subject: [PATCH] Update src/Common/ISlotControl.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: János Benjamin Antal --- src/Common/ISlotControl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Common/ISlotControl.h b/src/Common/ISlotControl.h index aa7414d5465..daeb956f5a8 100644 --- a/src/Common/ISlotControl.h +++ b/src/Common/ISlotControl.h @@ -16,9 +16,9 @@ namespace DB // * free: slot is available to be allocated. // * allocated: slot is allocated to a specific ISlotAllocation. // -// Allocated slots can be considered as: +// Allocated slots can be in one of the following states: // * granted: allocated, but not yet acquired. -// * acquired: acquired using IAcquiredSlot. +// * acquired: a granted slot becomes acquired by using IAcquiredSlot. // // Example for CPU (see ConcurrencyControl.h). Every slot represents one CPU in the system. // Slot allocation is a request to allocate specific number of CPUs for a specific query.