| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Member Functions | List of all members
boost::threadpool::wait_for_active_tasks< Pool > Class Template Reference

ShutdownPolicy which waits for the completion of all active 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_active_tasks< Pool >

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

Parameters

  Pool | The pool's core type.

Definition at line 52 of file shutdown_policies.hpp.

## Member Function Documentation

template<typename Pool >

static void boost::threadpool::wait_for_active_tasks< Pool >::shutdown | ( | Pool & | pool | ) |
| inline static

Definition at line 55 of file shutdown_policies.hpp.

56 {
57 pool.clear();
58 pool.wait();
59 pool.terminate_all_workers(true);
60 }
pool
Definition: PoolClasses.h:7

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

- GaudiMTTools/src/threadpool/boost/threadpool/shutdown_policies.hpp