'@param lock: A mutual-exclusion lock, with C{acquire} and C{release}
methods.
@type lock: L{threading.Lock}
@param local: Local storage.
@type local: L{threading.local}'

def __init__(self, lock, local):

    self._quit = Quit()
    self._lock = lock
    self._local = local
