Chapter 5. Concurrency Patterns

The following patterns are presented in this chapter.

  • Message Queuing Pattern: Robust asynchronous task rendezvous

  • Interrupt Pattern: Fast short event handling

  • Guarded Call Pattern: Robust synchronous task rendezvous

  • Rendezvous Pattern: Generalized task rendezvous

  • Cyclic Executive Pattern: Simple task scheduling

  • Round Robin Pattern: Fairness in task scheduling

  • Static Priority Pattern: Preemptive multitasking for schedulable systems

  • Dynamic Priority Pattern: Preemptive multitasking for complex systems

Introduction

This chapter focuses on the next aspect of architecture: concurrency. The concurrency architecture includes the control and scheduling of the architectural elements. This includes the management of resources that ...

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.