7.3 Synchronization Granularity
Keywords: perfbook_html

#
7.3 Synchronization Granularity

Figure: Design Patterns and Lock Granularity

Figure gives a pictorial view of different levels of synchronization granularity, each of which is described in one of the following sections. These sections focus primarily on locking, but similar granularity issues arise with all forms of synchronization.

Subsections

- 7.3.1 Sequential Program
- 7.3.2 Code Locking
- 7.3.3 Data Locking
- 7.3.4 Data Ownership
- 7.3.5 Locking Granularity and Performance