ADLTest.CountdownLatch.Signal C# (CSharp) Метод

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

public Signal ( ) : void
Результат void
        public void Signal()
        {
            // The last thread to signal also sets the event.
            if (Interlocked.Decrement(ref m_remain) == 0)
                m_event.Set();
        }

Usage Example

Пример #1
0
 public override void onEchoEvent(EchoEvent e)
 {
     receivedEvent = e;
     _latch.Signal();
 }
All Usage Examples Of ADLTest.CountdownLatch::Signal