Chapter 7. Resource Patterns

The following patterns are presented in this chapter.

  • Critical Section Pattern: Uses resources run-to-completion

  • Priority Inheritance Pattern: Limits priority inversion

  • Highest Locker Pattern: Limits priority inversion

  • Priority Ceiling Pattern: Limits priority inversion and prevents deadlock

  • Simultaneous Locking Pattern: Prevents deadlock

  • Ordered Locking Pattern: Prevents deadlock

Introduction

One of the distinguishing characteristics of real-time and embedded systems is the concern over management of finite resources. This chapter provides a number of patterns to help organize, manage, use, and share such resources. There is some overlap of concerns with the patterns in this and other chapters. For example, the Smart Pointer ...

Get Real-Time Design Patterns: Robust Scalable Architecture for Real-Time Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.