...世界上最受推崇和设计精良的 C++ 库项目之一。 — Herb Sutter 和 Andrei Alexandrescu,《C++ 编码规范
...世界上最受推崇和设计精良的 C++ 库项目之一。
停止线程。
void stop();
此函数会尽快停止线程。 调用 stop() 的结果是,待处理的函数对象可能永远不会被调用。
stop()