ActiveMQ.Util.CountDownLatch2.await C# (CSharp) Метод

await() публичный Метод

public await ( ) : bool
Результат bool
        public bool await()
        {
            lock (mutex)
            {
                TimeSpan elapsed = new TimeSpan(0, 0, 5);
                while (remaining > 0)
                {
                    mutex.Wait(elapsed);
                }
            }
            return true;
        }

Same methods

CountDownLatch2::await ( System.TimeSpan timeout ) : bool
CountDownLatch2::await ( int millis ) : bool