Kea  1.5.0
isc::util::thread::Thread::Impl Class Reference

Public Member Functions

 Impl (const boost::function< void()> &main)
 

Static Public Member Functions

static void done (Impl *impl)
 
static void * run (void *impl_raw)
 

Public Attributes

bool exception_
 
string exception_text_
 
boost::function< void()> main_
 
Mutex mutex_
 
pthread_t tid_
 
size_t waiting_
 

Detailed Description

Definition at line 64 of file thread.cc.

Constructor & Destructor Documentation

◆ Impl()

isc::util::thread::Thread::Impl::Impl ( const boost::function< void()> &  main)
inline

Definition at line 66 of file thread.cc.

Member Function Documentation

◆ done()

static void isc::util::thread::Thread::Impl::done ( Impl impl)
inlinestatic

Definition at line 76 of file thread.cc.

References isc::ha::impl.

Referenced by run(), isc::util::thread::Thread::wait(), and isc::util::thread::Thread::~Thread().

◆ run()

static void* isc::util::thread::Thread::Impl::run ( void *  impl_raw)
inlinestatic

Definition at line 89 of file thread.cc.

References done(), and isc::ha::impl.

Referenced by isc::util::thread::Thread::Thread().

+ Here is the call graph for this function:

Member Data Documentation

◆ exception_

bool isc::util::thread::Thread::Impl::exception_

Definition at line 110 of file thread.cc.

Referenced by isc::util::thread::Thread::wait().

◆ exception_text_

string isc::util::thread::Thread::Impl::exception_text_

Definition at line 111 of file thread.cc.

Referenced by isc::util::thread::Thread::wait().

◆ main_

boost::function<void ()> isc::util::thread::Thread::Impl::main_

Definition at line 108 of file thread.cc.

◆ mutex_

Mutex isc::util::thread::Thread::Impl::mutex_

Definition at line 120 of file thread.cc.

◆ tid_

pthread_t isc::util::thread::Thread::Impl::tid_

◆ waiting_

size_t isc::util::thread::Thread::Impl::waiting_

Definition at line 106 of file thread.cc.


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