The Gaudi Framework  v29r0 (ff2e7097)
boost::threadpool::wait_for_all_tasks< Pool > Class Template Reference

ShutdownPolicy which waits for the completion of all tasks and the worker termination afterwards. More...

#include <src/threadpool/boost/threadpool/shutdown_policies.hpp>

Static Public Member Functions

static void shutdown (Pool &pool)
 

Detailed Description

template<typename Pool>
class boost::threadpool::wait_for_all_tasks< Pool >

ShutdownPolicy which waits for the completion of all tasks and the worker termination afterwards.

Parameters
PoolThe pool's core type.

Definition at line 35 of file shutdown_policies.hpp.

Member Function Documentation

template<typename Pool >
static void boost::threadpool::wait_for_all_tasks< Pool >::shutdown ( Pool &  pool)
inlinestatic

Definition at line 38 of file shutdown_policies.hpp.

39  {
40  pool.wait();
41  pool.terminate_all_workers(true);
42  }

The documentation for this class was generated from the following file: