13

Pipes

Abstract

Pipes are a simple method of intertask communication—with just a little more flexibility than queues—supported by Nucleus SE. They provide a low-cost, but flexible, means of passing simple data messages between tasks. In this chapter, the operation of pipes is outlined, with details of all the relevant application program interfaces. The implementation of pipes in Nucleus SE is also detailed.

Keywords

RTOS; Nucleus; queue; pipe

Pipes were introduced in Chapter 3, RTOS Services and Facilities. They provide a more flexible means of passing simple messages between tasks than mailboxes or queues.

Using pipes

In Nucleus SE, pipes are configured at build time. There may be a maximum of 16 pipes configured for an application. If no pipes ...

Get Embedded RTOS Design 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.