def addWorkers(self, n=1):
        '''Add C{n} worker threads to the pool.'''
        for _ in xrange(n):
            self._workers.append(Worker(self._unassignedJobs, self._processedJobs,
                                        self._unassignedKey2Job))
        _log.debug('Added %d workers' % n)
Add C{n} worker threads to the pool.
recipes/Python/502291_Yet_another_threadpool_module/recipe-502291.py