fixed potential race condition

This commit is contained in:
Jeff Hill
2000-09-07 01:25:04 +00:00
parent 042dfaded2
commit b7b1a82472
+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 );
}