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

ShutdownPolicy which does not wait for any tasks or worker termination. 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::immediately< Pool >

ShutdownPolicy which does not wait for any tasks or worker termination.

This policy does not wait for any tasks. Nevertheless all active tasks will be processed completely.

Parameters
PoolThe pool's core type.

Definition at line 71 of file shutdown_policies.hpp.

Member Function Documentation

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

Definition at line 74 of file shutdown_policies.hpp.

75  {
76  pool.clear();
77  pool.terminate_all_workers(false);
78  }

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