384
When the I/O interrupt setting in the PC Setup (execution controls 2) is set to
hold other I/O interrupts, an incoming I/O interrupt must wait until the first I/O in-
terrupt is finished, regardless of the priority ranking of the two I/O interrupts. The
following example shows program execution with this I/O interrupt setting.
Interrupt
input 2
Scheduled
interrupt 0
Scheduled
interrupt 1
Interrupt
input 0
Interrupt
input 1
Scheduled interrupt
program 0
I/O Interrupt
program 0
I/O Interrupt
program 1
I/O Interrupt
program 2
Main program
Interrupt
Interrupt
Interrupt
Scheduled interrupt
program 1
Restarted
Restarted
Restarted
Restarted
Ignored
Interrupt
When the I/O interrupt setting in the PC Setup is set to execute higher priority
interrupts, an incoming I/O interrupt will be serviced immediately if its interrupt
program number is higher than that of the I/O interrupt currently being serviced.
The following example shows program execution with this I/O interrupt setting.
Interrupt
input 2
Scheduled
interrupt 0
Scheduled
interrupt 1
Interrupt
input 0
Interrupt
input 1
Scheduled interrupt
program 0
I/O Interrupt
program 0
I/O Interrupt
program 1
I/O Interrupt
program 2
Main program
Interrupt
Interrupt
Scheduled interrupt
program 1
Restarted
Restarted
Restarted
Interrupt
Restarted
Restarted
Restarted
Interrupt
Interrupt
Interrupt
Interrupt Control Section 5-31