def __init__(self, total_workers_number):
		"""
		@param total_workers_number: the maximum number of worker threads
		"""
		self.total_workers_number = total_workers_number
		self.waiting_place = threading.Condition()
		self.work_done_event = threading.Event()

		@param total_workers_number: the maximum number of worker threads
		
recipes/Python/577350_Synchronizing_worker_threads_using_comminput/recipe-577350.py