Mosa.HardwareSystem.InterruptManager.ProcessInterrupt C# (CSharp) 메소드

ProcessInterrupt() 공개 메소드

Processes the interrupt.
public ProcessInterrupt ( byte irq ) : void
irq byte The irq.
리턴 void
        public void ProcessInterrupt(byte irq)
        {
            try
            {
                spinLock.Enter();

                foreach (var hardwareDevice in interruptHandlers[irq])
                {
                    hardwareDevice.OnInterrupt();
                }
            }
            finally
            {
                spinLock.Exit();
            }
        }