def __init__(self, thread_name=None, thread_join_timeout=None, polling_timeout=None):
		""" Create new task

		:param thread_name: same as 'thread_name' in :meth:`.WThreadTask.__init__`
		:param thread_join_timeout: same as 'thread_join_timeout' in :meth:`.WThreadTask.__init__`
		:param polling_timeout: polling timeout for this task
		"""
		WThreadTask.__init__(
			self, thread_name=thread_name, join_on_stop=True, ready_to_stop=True,
			thread_join_timeout=thread_join_timeout
		)
		self.__polling_timeout = \
			polling_timeout if polling_timeout is not None else self.__class__.__thread_polling_timeout__
def __init__ ( self , thread_name = None , thread_join_timeout = None , polling_timeout = None ) : WThreadTask . __init__ ( self , thread_name = thread_name , join_on_stop = True , ready_to_stop = True , thread_join_timeout = thread_join_timeout ) self . __polling_timeout = polling_timeout if polling_timeout is not None else self . __class__ . __thread_polling_timeout__
Create new task

		:param thread_name: same as 'thread_name' in :meth:`.WThreadTask.__init__`
		:param thread_join_timeout: same as 'thread_join_timeout' in :meth:`.WThreadTask.__init__`
		:param polling_timeout: polling timeout for this task