函数名称:设置协程超时时间
函数功能:设置协程超时时间,结束协程
引擎版本:iOS v2.3.9,Android v2.3.4 以上
函数方法
thread.setTimeout(timeout,thread_id)
返回值:无