Patent ID: 8555016

Claim:
A non-transitory machine readable medium including program code which, when executed by a machine, causes the machine to perform the operations of: encountering an operation associated with a transactional memory access to a data element; and maintaining a meta-data location associated with the data element in response to encountering the operation associated with the transactional memory access to the data element, wherein the meta-data location comprises a first field to hold an optimistic concurrency control value and a second field to hold a pessimistic concurrency control value, the pessimistic concurrency control value is to include a first pessimistic field to hold a bit vector to correspond to pending transactions and a second pessimistic field to indicate a lock type, wherein a pending writer transaction is to set a corresponding bit in the bit vector and the second pessimistic field to a pessimistic write lock value to acquire a write lock of the data element.