Invention Grant
US08136112B2 Thread synchronization via selective modification of stored states of pending optimistically balanced lock releases having previous lock owner and validity flag 失效
线程同步,通过选择性地修改存在状态的未决乐观平衡锁释放,具有先前的锁拥有者和有效性标志

Thread synchronization via selective modification of stored states of pending optimistically balanced lock releases having previous lock owner and validity flag
Abstract:
Thread synchronization methods and apparatus for managed run-time environments are disclosed. An example method to maintain state information for optimistically balanced synchronization of a lock of an object in a managed runtime environment disclosed herein comprises storing state information comprising a state of each pending optimistically balanced release operation corresponding to each pending optimistically balanced synchronization to be performed on the lock of the object, each pending optimistically balanced synchronization comprising respective paired acquisition and release operations between which an unknown number of unpaired locking operations are to occur, and modifying a first stored state of a first pending optimistically balanced release operation when a subsequent unpaired locking operation is performed on the lock, but not modifying any stored state of any pending optimistically balanced release, including the first stored state of a first pending optimistically balanced release operation, when a subsequent optimistically balanced synchronization is performed on the lock.
Information query
Patent Agency Ranking
0/0