summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 5f528c16b..a933e5c41 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -232,6 +232,21 @@ DEFINE_HANDLER1(FloodQuitUserHandler, void, User*);
class XLineManager;
class BanCacheManager;
+class ConfigReaderThread : public Thread
+{
+ InspIRCd* ServerInstance;
+ public:
+ ConfigReaderThread(InspIRCd* Instance) : Thread(), ServerInstance(Instance)
+ {
+ }
+
+ virtual ~ConfigReaderThread()
+ {
+ }
+
+ void Run();
+};
+
/** The main class of the irc server.
* This class contains instances of all the other classes
* in this software, with the exception of the base class,
@@ -381,6 +396,14 @@ class CoreExport InspIRCd : public classbase
*/
SocketEngine* SE;
+ /** Thread engine, Handles threading where required
+ */
+ ThreadEngine* Threads;
+
+ /** The thread/class used to read config files in REHASH and on startup
+ */
+ ConfigReaderThread* ConfigThread;
+
/** LogManager handles logging.
*/
LogManager *Logs;