Computer resources access control apparatus and method
First Claim
1. A computer resource access control apparatus which, when one of a plurality of processing means requests an access to a plurality of portions comprising divisions of the computer resource which are divided such that at least a part of areas may overlap each other while inhibiting an access by other processing means (exclusive access), permits or inhibits said exclusive access to said portions, comprising;
- exclusive access permission control means, operative when said processing means requests an exclusive access to said portion while an exclusive access to other one or more of said portions having an area overlapping said portion to which said processing means requested an exclusive access is not permitted, for permitting said processing means requesting the exclusive access to gain an exclusive access to said portion,a plurality of counting means provided in correspondence to each of said portions for counting the number of said exclusive accesses permitted to said other one or more portions having an area overlapping the corresponding one of said portions for each period in which said exclusive access to corresponding one of said portions is requested while said exclusive access to the corresponding one of said portions is not permitted, andaccess inhibiting control means for inhibiting permission of an exclusive access to said other one or more portions having an area overlapping said portion corresponding to said counting means when the count of said counting means reaches a predetermined value.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention is directed to obtaining a correct processing result without an inexpedience such as a starvation by having a plurality of processes gain an access in parallel to a resource such as a VRAM. When one of a plurality of processing means requests an exclusive access to a portion of a resource, a lock range processing part 122 permits an exclusive access only when the process does not result in an inexpedience, for example, when other processing means is not permitted to gain an exclusive access to an overlapped portion. Further, the lock range processing part 122 inhibits permission of an exclusive access to other portion overlapping a portion and permits an exclusive access to such portion when the number of permissions of exclusive accesses to other portion overlapping this portion exceeds a given number while an exclusive access to such portion is not permitted. The lock range processing part 122 thus prevents a starvation from occurring by limiting the number of permissions of an exclusive access to other overlapping portion passing a portion which overlaps the other overlapping portion.
-
Citations
7 Claims
-
1. A computer resource access control apparatus which, when one of a plurality of processing means requests an access to a plurality of portions comprising divisions of the computer resource which are divided such that at least a part of areas may overlap each other while inhibiting an access by other processing means (exclusive access), permits or inhibits said exclusive access to said portions, comprising;
-
exclusive access permission control means, operative when said processing means requests an exclusive access to said portion while an exclusive access to other one or more of said portions having an area overlapping said portion to which said processing means requested an exclusive access is not permitted, for permitting said processing means requesting the exclusive access to gain an exclusive access to said portion, a plurality of counting means provided in correspondence to each of said portions for counting the number of said exclusive accesses permitted to said other one or more portions having an area overlapping the corresponding one of said portions for each period in which said exclusive access to corresponding one of said portions is requested while said exclusive access to the corresponding one of said portions is not permitted, and access inhibiting control means for inhibiting permission of an exclusive access to said other one or more portions having an area overlapping said portion corresponding to said counting means when the count of said counting means reaches a predetermined value. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer resource access control method in which, when one of a plurality of processing means requests an access to a plurality of portions comprising divisions of the computer resource which are divided such that at least a part of areas may overlap each other while inhibiting another processing means from gaining an access (exclusive access), permits or inhibits each of said processing means to gain said exclusive access to said portions, comprising;
-
permitting said processing means requesting the exclusive access to gain an exclusive access to said portion when said processing means requests an exclusive access to said portion while an exclusive access to other one or more of said portions having an area overlapping said portion to which said processing means requested an exclusive access is not permitted, counting the number of said exclusive accesses permitted to said other one or more portions having an area overlapping corresponding one of said portions for each period in which said exclusive access to corresponding one of said portions is requested and said exclusive access to the corresponding one of said portions is not permitted and, inhibiting permission of an exclusive access to said other one or more portions having an area overlapping said portion in which said count reaches a predetermined value.
-
-
7. A computer readable recording medium recording therein a program which, when one of a plurality of processing means requests an access to a plurality of portions comprising divisions of the computer resource which are divided such that at least a part of areas may overlap each other while inhibiting another processing means from gaining an access (exclusive access), permits or inhibits each of said processing means to agin said exclusive access to said portions, and causes a computer to execute the steps of;
-
permitting said processing means requesting the exclusive access to gain an exclusive access to said portion when said processing means requests an exclusive access to said portion while an exclusive access to other one or more of said portions having an area overlapping said portion to which said processing means requested an exclusive access is not permitted, counting the number of said exclusive accesses permitted to said other one or more portions having an area overlapping corresponding one of said portions for each period in which said exclusive access to corresponding one of said portions is requested and said exclusive access to the corresponding one of said portions is not permitted, and inhibiting permission of an exclusive access to said other one or more portions having an area overlapping said portion in which said count reaches a predetermined value.
-
Specification