The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ConfigReaderThread Class Reference

The background thread for config reading, so that reading from executable includes does not block. More...

#include <inspircd.h>

Inheritance diagram for ConfigReaderThread:

Inheritance graph
[legend]
Collaboration diagram for ConfigReaderThread:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ConfigReaderThread (InspIRCd *Instance, bool bail, const std::string &useruid)
virtual ~ConfigReaderThread ()
void Run ()
 Override this method to put your actual threaded code here.

Private Attributes

InspIRCdServerInstance
bool do_bail
std::string TheUserUID

Detailed Description

The background thread for config reading, so that reading from executable includes does not block.

Definition at line 282 of file inspircd.h.


Constructor & Destructor Documentation

ConfigReaderThread::ConfigReaderThread InspIRCd Instance,
bool  bail,
const std::string useruid
[inline]
 

Definition at line 288 of file inspircd.h.

virtual ConfigReaderThread::~ConfigReaderThread  )  [inline, virtual]
 

Definition at line 292 of file inspircd.h.


Member Function Documentation

void ConfigReaderThread::Run  )  [virtual]
 

Override this method to put your actual threaded code here.

Implements Thread.

Definition at line 2351 of file configreader.cpp.

References InspIRCd::Config, do_bail, ThreadEngine::Lock(), ServerConfig::Read(), ServerInstance, Thread::SetExitFlag(), TheUserUID, InspIRCd::Threads, and ThreadEngine::Unlock().

Referenced by InspIRCd::InspIRCd().


Member Data Documentation

bool ConfigReaderThread::do_bail [private]
 

Definition at line 285 of file inspircd.h.

Referenced by Run().

InspIRCd* ConfigReaderThread::ServerInstance [private]
 

Definition at line 284 of file inspircd.h.

Referenced by Run().

std::string ConfigReaderThread::TheUserUID [private]
 

Definition at line 286 of file inspircd.h.

Referenced by Run().


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