What do you mean by SHM here?
--
Regards,
Alexander Chemeris.
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
http://courses.csail.mit.edu/6.852/08/papers/lists-book-chapter.pdf
12 Counting, Sorting, and Distributed Coordination 321
12.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . .
321
12.2 Shared Counting . . . . . . . . . . . . . . . . . . . . . . . . . 321
12.3 Software Combining . . . . . . . . . . . . . . . . . . . . . . . 322
12.3.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . 323
12.3.2 An Extended Example . . . . . . . . . . . . . . . . . . 330
12.3.3 Performance and Robustness . . . . . . . . . . . . . . 333
12.4 Quiescently-Consistent Pools and Counters . . . . . . . . . . 333
12.5 Counting Networks . . . . . . . . . . . . . . . . . . . . . . . . 334
12.5.1 Networks that count . . . . . . . . . . . . . . . . . . . 334
12.5.2 The Bitonic Counting Network . . . . . . . . . . . . . 337
12.5.3 Performance and Pipelining . . . . . . . . . . . . . . . 345
12.6 Diffracting Trees . . . . . . . . . . . . . . . . . . . . . . . . . 348
12.7 Parallel Sorting . . . . . . . . . . . . . . . . . . . . . . . . . .
353
12.8 Sorting Networks . . . . . . . . . . . . . . . . . . . . . . . . . 354
12.8.1 Designing a Sorting Network . . . . . . . . . . . . . . 354
12.9 Sample Sorting . . . . . . . . . . . . . . . . . . . . . . . . . . 357
12.10Distributed Coordination . . . . . . . . . . . . . . . . . . . . 360
12.11Chapter Notes . . . . . . . . . . . . . . . . . . . . . . . . . . 361
12.12Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
http://courses.csail.mit.edu/6.852/08/papers/lists-book-chapter.pdf