Shared Memory Arena - Programming Tutorial

This tutorial assumes the reader has an understanding of C, how to create C programs using make and a terminal shell.

The example code is not intended to be examples of robust coding, but are intended to be as simple as possible to get a point across.

The example code uses GNU make make files, a different make program may not work. GNU make is the standard make program on GNU/Linux systems.

Table of Contents

  1. Getting the Example Code
  2. Reading Shared Memory Segments
  3. Writing Shared Memory Segments
  4. What's an Arena File
  5. Atomic Segment Creation and Initialization
  6. Writing Shared Multi-Queue
  7. Reading Shared Multi-Queue
  8. Blocking Read Shared Multi-Queue

Shared Memory Arena version RC-0.0.25