Method and system for spinlock fault recovery
First Claim
Patent Images
1. A method, comprising:
- requesting access to a resource governed by a spinlock;
determining an allocation of the resource to a further requester;
determining an expiration of a time limit for the spinlock, if the resource is allocated to the further requester; and
initiating a fault recovery, if the time limit is expired, the initiating of the fault recovery comprising changing a status of the spinlock from a TAKEN status to a FAULTED status.
3 Assignments
0 Petitions
Accused Products
Abstract
A method including requesting access to a resource governed by a spinlock; determining an allocation of the resource to a further requester; determining an expiration of a time limit for the spinlock, if the resource is allocated to the further requester; and initiating a fault recovery, if the time limit is expired.
15 Citations
18 Claims
-
1. A method, comprising:
-
requesting access to a resource governed by a spinlock; determining an allocation of the resource to a further requester; determining an expiration of a time limit for the spinlock, if the resource is allocated to the further requester; and initiating a fault recovery, if the time limit is expired, the initiating of the fault recovery comprising changing a status of the spinlock from a TAKEN status to a FAULTED status. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method, comprising:
-
requesting access to a resource governed by a spinlock; determining an allocation of the resource to a further requester; determining an expiration of a time limit for the spinlock if the resource is allocated to the further requester; initiating a fault recovery, if the time limit is expired; and returning an error, if a status of the spinlock is a FAULTED status.
-
-
7. A system, comprising:
-
a resource; a spinlock governing access to the resource; and a plurality of takers for accessing the resource, wherein, when a first taker requests access to the resource, the first taker; determines whether a second taker is using the resource; determines, if the second taker is using the resource, whether a time limit relating to the spinlock has been exceeded; and initiates a fault recovery, if the time limit has been exceeded, the initiating of the fault recovery comprising changing a status of the spinlock from a TAKEN status to a FAULTED status. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A system, comprising:
-
a resource; a spinlock governing access to the resource; and a plurality of takers for accessing the resource, wherein, when a first taker requests access to the resource, the first taker; determines whether a second taker is using the resource; determines, if the second taker is using the resource, whether a time limit relating to the spinlock has been exceeded; initiates a fault recovery, if the time limit has been exceeded; and returns an error if a status of the spinlock is a FAULTED status.
-
-
13. A non-transitory computer-readable storage medium storing a set of instructions executable by a processor, the set of instructions, when executed, causing the processor to:
-
request access to a resource governed by a spinlock; determine an allocation of the resource to a further requester; determine an expiration of a time limit for the spinlock, if the resource is allocated to the further requester; and initiate a fault recovery, if the time limit is expired, the initiating of the fault recovery comprising changing a status of the spinlock from a TAKEN status to a FAULTED status. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A non-transitory computer-readable storage medium storing a set of instructions executable by a processor, the set of instructions, when executed, causing the processor to:
-
request access to a resource governed by a spinlock; determine an allocation of the resource to a further requester; determine an expiration of a time limit for the spinlock, if the resource is allocated to the further requester; initiate a fault recovery, if the time limit is expired; and return an error, if a status of the spinlock is FAULTED.
-
Specification