PRIORITY ROLLBACK PROTOCOL
First Claim
Patent Images
1. A method executable with a processing device according to processing instructions embedded in a non-transitory computer readable medium to prevent concurrent access to a software resource by a first thread and a second thread, the method comprising:
- executing a critical region of the first thread;
writing rollback information to a rollback data structure based on the executing of the critical region of the first thread;
detecting an indication that the second thread seeks access to the software resource; and
after detecting the indication, rolling back the executing of the critical region of the first thread.
0 Assignments
0 Petitions
Accused Products
Abstract
Mechanisms for enforcing limits to resource access are provided. In some embodiments, synchronization tools are used to reduce the worst case execution time of selected processing sequences. In one example, instructions from a first processing sequence are rolled back using rollback information stored in a data structure if a higher priority processing sequence seeks access to the resource.
-
Citations
26 Claims
-
1. A method executable with a processing device according to processing instructions embedded in a non-transitory computer readable medium to prevent concurrent access to a software resource by a first thread and a second thread, the method comprising:
-
executing a critical region of the first thread; writing rollback information to a rollback data structure based on the executing of the critical region of the first thread; detecting an indication that the second thread seeks access to the software resource; and after detecting the indication, rolling back the executing of the critical region of the first thread. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method executable with a processing device according to processing instructions embedded in a non-transitory computer readable medium to prevent concurrent access to a software resource by a first processing sequence and a second processing sequence, the method comprising:
-
executing the first processing sequence with the processing device; writing rollback information to a rollback data structure based on the first processing sequence; detecting an indication that the second processing sequence seeks access to the software resource; and after detecting the indication, rolling back the executing of the first processing sequence. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A non-transitory computer-readable medium operable by a processing device to prevent concurrent access to a software resource by a first processing sequence and a second processing sequence, the non-transitory computer-readable medium comprising a plurality of processing sequences embedded therein including:
-
a third processing sequence configured for writing rollback information to a rollback data structure based on execution of the first processing sequence; a fourth processing sequence configured for detecting an indication that the second processing sequence seeks access to the software resource; and a fifth processing sequence configured for rolling back the execution of the first processing sequence after detecting the indication. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
-
23. An system configured to prevent concurrent access to a software resource, the system comprising:
-
a support structure; a hardware resource supported by the support structure; a processing device supported by the support structure, the processing device adapted for executing a first processing sequence and a second processing sequence; a non-transitory computer-readable medium supported by the support structure; and a plurality of processing sequences embedded in the non-transitory computer-readable medium including a third processing sequence adapted for writing rollback information to a rollback data structure based on the first processing sequence; a fourth processing sequence configured for detecting an indication that the second processing sequence seeks access to the software resource; and a fifth processing sequence configured for rolling back the execution of the first processing sequence after detecting the indication. - View Dependent Claims (24, 25, 26)
-
Specification