mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 18:45:20 +00:00
Update src/Common/ISlotControl.h
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
This commit is contained in:
parent
151ade2318
commit
9b646b41d5
@ -16,9 +16,9 @@ namespace DB
|
|||||||
// * free: slot is available to be allocated.
|
// * free: slot is available to be allocated.
|
||||||
// * allocated: slot is allocated to a specific ISlotAllocation.
|
// * 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.
|
// * 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.
|
// 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.
|
// Slot allocation is a request to allocate specific number of CPUs for a specific query.
|
||||||
|
Loading…
Reference in New Issue
Block a user