Beispiel #1
0
        private async void DivideProcess()
        {
            _rdy = true;
            while (true)
            {
                ProgramFlow.DoNotUnroll();

                while (!_nxt)
                {
                    ProgramFlow.DoNotUnroll();
                    await Tick;
                }

                _rdy = false;
                ProgramFlow.Barrier();
                _quotient = _dividend / _divisor;
                ProgramFlow.Barrier();
                await 10.Ticks();
                _rdy = true;
            }
        }