public WaitForAllTransmits ( int timeout ) : bool | ||
timeout | int | |
return | bool |
public bool WaitForAllTransmits(int timeout)
{
while (m_send_queue.Count > 0)
{
if (!m_send_queue.First.Value.send_mutex.WaitOne(timeout))
return false;
}
return true;
}