ELECTRONIC DEVICE THAT ENSURES SIMPLIFIED COMPETITION AVOIDING CONTROL, METHOD AND RECORDING MEDIUM
First Claim
1. An electronic device, comprising:
- a memory that has a storage region and stores a control program to control the electronic device in the storage region; and
a processor that executes the control program, when the control program is executed, the processor operates;
an access counter that has a specific initial value and avoids an access competition to an access object accessed from a plurality of tasks;
a high priority level task that increments the access counter when starting an access to the access object, and decrements the access counter when completing the access to the access object; and
a low priority level task that accesses the access object when the access counter has the specific initial value.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device includes a memory and a processor. The memory has a storage region and stores a control program to control the electronic device in the storage region. The processor executes the control program, when the control program is executed, the processor operates; an access counter that has a specific initial value and avoids an access competition to an access object accessed from a plurality of tasks; a high priority level task that increments the access counter when starting an access to the access object, and decrements the access counter when completing the access to the access object; and a low priority level task that accesses the access object when the access counter has the specific initial value.
-
Citations
5 Claims
-
1. An electronic device, comprising:
-
a memory that has a storage region and stores a control program to control the electronic device in the storage region; and a processor that executes the control program, when the control program is executed, the processor operates; an access counter that has a specific initial value and avoids an access competition to an access object accessed from a plurality of tasks; a high priority level task that increments the access counter when starting an access to the access object, and decrements the access counter when completing the access to the access object; and a low priority level task that accesses the access object when the access counter has the specific initial value. - View Dependent Claims (2, 3, 4)
-
-
5. A non-transitory computer-readable recording medium storing a control program for controlling an electronic device, the control program causing a processor of the electronic device to operate:
-
an access counter that has a specific initial value and avoids an access competition to an access object accessed from a plurality of tasks; a high priority level task that increments the access counter when starting an access to the access object, and decrements the access counter when completing the access to the access object; and a low priority level task that accesses the access object when the access counter has the specific initial value.
-
Specification