public ReleaseInterruptHandler ( byte irq, IHardwareDevice hardwareDevice ) : void | ||
irq | byte | The irq. |
hardwareDevice | IHardwareDevice | The hardware device. |
return | void |
public void ReleaseInterruptHandler(byte irq, IHardwareDevice hardwareDevice)
{
if (irq >= MaxInterrupts)
return;
try
{
spinLock.Enter();
interruptHandlers[irq].Remove(hardwareDevice);
}
finally
{
spinLock.Exit();
}
}