跳到主要内容

stop

停止worker的工作

声明

void stop(bool wait_all_finish)

参数

参数名描述
wait_all_finish是否等待队列中所有任务执行完毕

返回值

使用方式

返回文档