Real time synchronization in multi-threaded computer systems
First Claim
1. In a multi-threaded computing system that includes a plurality of threads and a plurality of objects substantially all of which have an associated standard monitor, wherein the standard monitor provides a lock mechanism suitable for locking the associated object when a thread enters the standard monitor such that no other thread can enter the standard monitor until released by the thread, a method of setting desired locking behavior for one or more of the objects, comprising:
- associating an enhanced monitor with the one or more objects, wherein the enhanced monitor is arranged to set appropriate locking behavior for the one or more objects as determined by a user defined behavior object included within the enhanced monitor.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus for implementing priority inversion avoidance protocols and deterministic locking where an API is used to select objects in a multi-threaded computer system are disclosed. In one aspect of the invention, an enhanced monitor is associated with one or more selected objects by way of an associated API. The enhanced monitor is arranged to set behavior for a lock associated with the selected objects as determined by a user defined behavior object included within the enhanced monitor. In this arrangement, only the selected one or more objects are associated with the enhanced monitor.
-
Citations
19 Claims
-
1. In a multi-threaded computing system that includes a plurality of threads and a plurality of objects substantially all of which have an associated standard monitor, wherein the standard monitor provides a lock mechanism suitable for locking the associated object when a thread enters the standard monitor such that no other thread can enter the standard monitor until released by the thread, a method of setting desired locking behavior for one or more of the objects, comprising:
associating an enhanced monitor with the one or more objects, wherein the enhanced monitor is arranged to set appropriate locking behavior for the one or more objects as determined by a user defined behavior object included within the enhanced monitor. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. In a multi-threaded computing system that includes a plurality of threads and a plurality of objects substantially all of which have an associated standard monitor, wherein the standard monitor provides a standard synchronization on an associated object by providing a lock mechanism suitable for locking the associated object when a thread enters the standard monitor such that no other thread can enter the standard monitor until released by the thread, a method of enhanced synchronization on a selected object, comprising:
-
determining if the object requires enhanced synchronization;
identifying an enhanced monitor suitably arranged to provide the enhanced synchronization; and
associating the enhanced monitor with the object;
wherein the enhanced monitor is arranged to set behavior for the object as determined by a user defined behavior object included within the enhanced monitor.- View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
Specification