Abstract
Transactional Memory (TM) is a promising concurrent programming paradigm which employs transactions to achieve synchronization in accessing common data known as transactional variables. A transaction may either commit by making its updates to transactional variables visible or abort by discarding all its changes.We introduce WFR-TM, a TM algorithm which attempts to combine the advantages of pessimistic and optimistic TM. In a pessimistic TM, no transaction ever aborts; however, update transactions are executed sequentially, thus decreasing the degree of achieved parallelism. In optimistic TM, transactions are executed concurrently and they commit if they have not encountered any conflict during their execution.In WFR-TM, read-only transactions are wait-free and they never execute expensive synchronization operations, like CAS, Fetch&Increment, Swap, etc. This is achieved without sacrificing the parallelism between update transactions. Update transactions synchronize pessimistically with concurrently executed read-only transactions and they synchronize optimistically with each other.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.