cec: don't broadcast but wake one thread in CProtectedSocket::MarkReady()
authorLars Op den Kamp <lars@opdenkamp.eu>
Tue, 7 Feb 2012 01:32:43 +0000 (02:32 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Tue, 7 Feb 2012 01:32:43 +0000 (02:32 +0100)
src/lib/platform/sockets/socket.h

index 388bb2d8a0d2fd13e2500207f13481ce31dfbbf9..1d54a03ec22098f7c6a31fc9648f99d55b38c7c9 100644 (file)
@@ -223,7 +223,7 @@ namespace PLATFORM
       CLockObject lock(m_mutex);
       if (m_iUseCount > 0)
         --m_iUseCount;
-      m_condition.Broadcast();
+      m_condition.Signal();
     }
 
     _Socket   *m_socket;