Making sense of  transactional memory Preloader

Making sense of transactional memory - PowerPoint PPT Presentation


  • 199 Views
  • Updated On :

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

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Making sense of transactional memory' - cindy


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
ad