src/connector/ClientConnector.cpp
void ClientConnector :: MessageReceivedFromIOThread(const MessageRef & msg)
{
   MutexGuard mg(_replyQueueMutex);
   if (_replyQueue.IsEmpty()) RequestCallbackInDispatchThread();
   (void) _replyQueue.AddTail(msg);
}
// This method is called from within the I/O thread, so we have to be careful with it!
This method is called from within the I/O thread, so we have to be careful with it!
This method is called from within the I / O thread so we have to be careful with it!
void ClientConnector :: MessageReceivedFromIOThread(const MessageRef & msg)
{
   MutexGuard mg(_replyQueueMutex);
   if (_replyQueue.IsEmpty()) RequestCallbackInDispatchThread();
   (void) _replyQueue.AddTail(msg);
}
void ClientConnector :: MessageReceivedFromIOThread ( const MessageRef & msg ) { MutexGuard mg ( _replyQueueMutex ) ; if ( _replyQueue . IsEmpty ( ) ) RequestCallbackInDispatchThread ( ) ; ( void ) _replyQueue . AddTail ( msg ) ; }
This method is called from within the I/O thread, so we have to be careful with it!
This method is called from within the I / O thread so we have to be careful with it!