摘要 |
A runtime environment is described that includes a locking module to reserve a lock of an object among a plurality of reserved states when an external thread wants to access the object, and to unreserve the lock to an unreserved state when another external thread wants to access the object. The runtime environment further includes a lock re-reservation module to re-reserve the lock from the unreserved state to a first reserved state when the lock is in the unreserved state. A method of re-reserving a lock of an object is also described.
|