×

Electronic device with plurality of processes executing processings corresponding to interrupts, interrupt processing method, and recording

  • US 10,037,226 B2
  • Filed: 07/08/2016
  • Issued: 07/31/2018
  • Est. Priority Date: 08/27/2015
  • Status: Active Grant
First Claim
Patent Images

1. An electronic device comprising:

  • a memory that stores an interrupt process program;

    a processor that executes the interrupt process program, whereinwhen the processor executes the interrupt process program, the processor controlsa plurality of processes and operates as;

    a plurality of interrupt waiting units that correspond to the plurality of processes, respectively; and

    an interrupt handler that processes interrupts of the plurality of processes,wherein each of the plurality of interrupt waiting units sets an interrupt waiting flag to wait for an occurrence of an interrupt and waits for a process corresponding to each of the plurality of interrupt waiting units,the interrupt handler, when the interrupt occurred, sets an interrupt style of the occurred interrupt and clears all of interrupt waiting flags that have been set, theneach of the plurality of interrupt waiting units confirm the interrupt style to determine whether or not the interrupt style is matched with the process corresponding to each of the plurality of interrupt waiting units,the plurality of interrupt waiting units include a first interrupt waiting unit that corresponds to a first process associated with the interrupt style that has been set and a second interrupt waiting unit that corresponds to a second process not associated with the interrupt style that has been set,the interrupt waiting flags include a first interrupt waiting flag corresponding to the first process and a second interrupt waiting flag corresponding to the second process,the first interrupt waiting unit operates the first process when the first interrupt waiting flag was cleared,the second interrupt waiting unit set the second interrupt waiting flag when the second interrupt waiting flag was cleared.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×