projects/Extant/Threading/ThreadRun.cs
/// <summary>
/// Call all invoked functions in the queue.
/// </summary>
Call all invoked functions in the queue.
Call all invoked functions in the queue .
private void HandleInvoked()
        {
            lock (_invokedLock)
            {
                while (_invokedFunctions.HasNext())
                {
                    _invokedFunctions.Dequeue().Run();
                    if (this.IsStopped)
                        break;
                }
                while (_invokedActions.HasNext())
                {
                    _invokedActions.Dequeue().Invoke();
                    if (this.IsStopped)
                        break;
                }
            }
        }
private void HandleInvoked ( ) { lock ( _invokedLock ) { while ( _invokedFunctions . HasNext ( ) ) { _invokedFunctions . Dequeue ( ) . Run ( ) ; if ( this . IsStopped ) break ; } while ( _invokedActions . HasNext ( ) ) { _invokedActions . Dequeue ( ) . Invoke ( ) ; if ( this . IsStopped ) break ; } } }
Call all invoked functions in the queue.
Call all invoked functions in the queue .