WorkQueue

final class ntoseye.WorkQueue

Subclass of BaseRecord.

An _EX_WORK_QUEUE.

property address: int
property concurrency: int

_KPRIQUEUE.MaximumCount, the maximum number of threads that can run items at the same time.

property items_processed: int
property items_processed_last_pass: int
property max_threads: int
property min_threads: int
property node: int

The NUMA node.

property partition: int

The _EPARTITION it belongs to.

property pending: int

The number of items on all 32 priority lists, including items that are not listed.

property priorities: list[WorkQueuePriority]

The priority lists that hold items or have running threads, limited to the requested priorities.

property queue_index: int
property queue_index_name: str | None

The name of queue_index, if it is a known index.

property thread_count: int
property threads: list[WorkerThread]
property threads_termination: ListEnd

How the worker-thread list walk ended.