diff options
Diffstat (limited to 'src/core/pop/MCPOPSession.h')
-rw-r--r-- | src/core/pop/MCPOPSession.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/pop/MCPOPSession.h b/src/core/pop/MCPOPSession.h index eda323c0..f32f9b18 100644 --- a/src/core/pop/MCPOPSession.h +++ b/src/core/pop/MCPOPSession.h @@ -64,7 +64,12 @@ namespace mailcore { virtual void setConnectionLogger(ConnectionLogger * logger); virtual ConnectionLogger * connectionLogger(); - + + public: // private + virtual void lockConnectionLogger(); + virtual void unlockConnectionLogger(); + virtual ConnectionLogger * connectionLoggerNoLock(); + private: String * mHostname; unsigned int mPort; @@ -81,6 +86,7 @@ namespace mailcore { int mState; ConnectionLogger * mConnectionLogger; + pthread_mutex_t mConnectionLoggerLock; void init(); void bodyProgress(unsigned int current, unsigned int maximum); |