...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
void stop();
This function stops the threads as soon as possible. As a result of calling
stop()
,
pending function objects may be never be invoked.