fixed potential race condition

This commit is contained in:
Jeff Hill committed 2000-09-07 01:25:04 +00:00
1 parent 042dfaded2
commit b7b1a82472
1 file changed
+2
+2
View File
@@ -56,7 +56,9 @@ inline SOCKET tcpiiu::getSock () const
inline void tcpiiu::flush ()
{
this->lock ();
this->flushPending = true;
this->unlock ();
semBinaryGive ( this->sendThreadFlushSignal );
}