def back_to_work(self):
		"""
		Wake up all the waiting threads.
		Should be called whenever a thread puts new input into the common source.
		"""
		# Wake up everybody
		with self.waiting_place:
			self.waiting_place.notifyAll()

		Wake up all the waiting threads.
		Should be called whenever a thread puts new input into the common source.
		
recipes/Python/577350_Synchronizing_worker_threads_using_comminput/recipe-577350.py