Update src/Common/ISlotControl.h

Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
This commit is contained in:
Sergei Trifonov 2024-02-01 13:52:56 +01:00 committed by GitHub
parent 151ade2318
commit 9b646b41d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.