Package ganeti :: Module workerpool
[hide private]
[frames] | no frames]

Module workerpool

source code

Base classes for worker pools.

Classes [hide private]
  BaseWorker
Base worker class for worker pools.
  WorkerPool
Worker pool with a queue.
Variables [hide private]
  _TERMINATE = object()

Imports: collections, logging, threading, compat