diff options
author | Mattes D <github@xoft.cz> | 2015-02-18 22:41:22 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-02-18 22:41:22 +0100 |
commit | 70d54054e332c05d94e69b1eeca45a8773115c14 (patch) | |
tree | 91489591bea80cabc3dd4dd66a06531506354418 /src/OSSupport/NetworkSingleton.h | |
parent | InfoReg: Fixed MultiCommand return values. (diff) | |
download | cuberite-70d54054e332c05d94e69b1eeca45a8773115c14.tar cuberite-70d54054e332c05d94e69b1eeca45a8773115c14.tar.gz cuberite-70d54054e332c05d94e69b1eeca45a8773115c14.tar.bz2 cuberite-70d54054e332c05d94e69b1eeca45a8773115c14.tar.lz cuberite-70d54054e332c05d94e69b1eeca45a8773115c14.tar.xz cuberite-70d54054e332c05d94e69b1eeca45a8773115c14.tar.zst cuberite-70d54054e332c05d94e69b1eeca45a8773115c14.zip |
Diffstat (limited to 'src/OSSupport/NetworkSingleton.h')
-rw-r--r-- | src/OSSupport/NetworkSingleton.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OSSupport/NetworkSingleton.h b/src/OSSupport/NetworkSingleton.h index e27e19012..0536a1c82 100644 --- a/src/OSSupport/NetworkSingleton.h +++ b/src/OSSupport/NetworkSingleton.h @@ -116,12 +116,12 @@ protected: /** Mutex protecting all containers against multithreaded access. */ cCriticalSection m_CS; - /** Event that gets signalled when the event loop terminates. */ - cEvent m_EventLoopTerminated; - /** Set to true if Terminate has been called. */ volatile bool m_HasTerminated; + /** The thread in which the main LibEvent loop runs. */ + std::thread m_EventLoopThread; + /** Initializes the LibEvent internals. */ cNetworkSingleton(void); |