parameters: (self, tsk)
docstring: Pass a task to a consumer.
  
  		:param tsk: task
  		:type tsk: :py:attr:`waflib.Task.TaskBase`
docstring_summary: Pass a task to a consumer.
docstring_tokens: Pass a task to a consumer .
function: def add_task(self, tsk):
  		"""
  		Pass a task to a consumer.
  
  		:param tsk: task
  		:type tsk: :py:attr:`waflib.Task.TaskBase`
  		"""
  		try:
  			self.pool
  		except AttributeError:
  			self.init_task_pool()
  		self.ready.put(tsk)
function_tokens: def add_task ( self , tsk ) : try : self . pool except AttributeError : self . init_task_pool ( ) self . ready . put ( tsk )