摘要: std::condition_variable condition; { std::unique_lock<std::mutex> lock(queue_mutex); // 等待直到有任务或线程池停止 condition.wait(lock, [this] { return this->stop 阅读全文
posted @ 2025-08-19 00:41 AngDH 阅读(13) 评论(0) 推荐(0)