Making sense of  transactional memory

Making sense of transactional memory PowerPoint PPT Presentation


  • 189 Views
  • Updated On :
  • Presentation posted in: General

Example: double-ended queue. . . . . . . . . Left sentinel. . . . . X. X. 20. Right sentinel. Support push/pop on both endsAllow concurrency where possibleAvoid deadlock. Implementing this: atomic blocks. Class Q { QElem leftSentinel; QElem rightSentinel; void pushLeft(int item) { atomic { QElem e = new QElem(item); e.right = this.leftSentinel.right; e.left = this.leftSentinel; this.leftSentinel.right.left = e; this.leftSentinel.right = e; } }31816

Download Presentation

Making sense of transactional memory

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


  • Login