trunk/branch integration: AsyncChannel locking fix

This commit is contained in:
Marian Krivos 2011-08-22 16:36:13 +00:00
parent 25ab4f5300
commit ec76633667

View File

@ -75,7 +75,7 @@ public:
void open(); void open();
/// Opens the channel and creates the /// Opens the channel and creates the
/// background ;ogging thread. /// background logging thread.
void close(); void close();
/// Closes the channel and stops the background /// Closes the channel and stops the background
@ -110,7 +110,8 @@ protected:
private: private:
Channel* _pChannel; Channel* _pChannel;
Thread _thread; Thread _thread;
FastMutex _mutex; FastMutex _threadMutex;
FastMutex _channelMutex;
NotificationQueue _queue; NotificationQueue _queue;
}; };