class XLineManager;
class BanCacheManager;
+class ConfigReaderThread : public Thread
+{
+ InspIRCd* ServerInstance;
+ bool do_bail;
+ User* TheUser;
+ public:
+ ConfigReaderThread(InspIRCd* Instance, bool bail, User* user) : Thread(), ServerInstance(Instance), do_bail(bail), TheUser(user)
+ {
+ }
+
+ 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,
*/
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;