Package logilab :: Package common :: Module tasksqueue
[frames] | no frames]

Module tasksqueue

source code

Prioritized tasks queue

:organization: Logilab
:copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr

Classes
  PrioritizedTasksQueue
  Task
Variables
  HIGH = 100
  LOW = 0
  MEDIUM = 10
  REVERSE_PRIORITY = {0: 'LOW', 10: 'MEDIUM', 100: 'HIGH'}
  __package__ = 'logilab.common'