The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
network_worker_pool::manager Struct Reference

#include <network_worker.hpp>

Public Member Functions

 manager (size_t min_threads, size_t max_threads)
 
 ~manager ()
 

Private Member Functions

 manager (const manager &)
 
void operator= (const manager &)
 

Private Attributes

bool active_
 

Detailed Description

Definition at line 41 of file network_worker.hpp.

Constructor & Destructor Documentation

network_worker_pool::manager::manager ( size_t  min_threads,
size_t  max_threads 
)
explicit

Definition at line 768 of file network_worker.cpp.

References active_, threading::thread::get_id(), i, and NUM_SHARDS.

network_worker_pool::manager::~manager ( )

Definition at line 792 of file network_worker.cpp.

References active_, DBG_NW, i, threading::condition::notify_all(), and NUM_SHARDS.

network_worker_pool::manager::manager ( const manager )
private

Member Function Documentation

void network_worker_pool::manager::operator= ( const manager )
private

Member Data Documentation

bool network_worker_pool::manager::active_
private

Definition at line 50 of file network_worker.hpp.

Referenced by manager(), and ~manager().


The documentation for this struct was generated from the following files: