ach
Real-Time IPC Library
ach_attr Struct Reference

Attributes to pass to ach_open. More...

#include <ach.h>

Data Fields

union {
   struct {
      union {
         int   map_anon
 anonymous channel (put it in process heap, not shm). More...
 
         enum ach_map   map
 Where to put channel backing memory. More...
 
      } 
 
      struct ach_header *   shm
 the memory buffer used by anonymous channels
 
      union {
         uint64_t   reserve_bits
 reserve space for bit flags
 
         struct {
            unsigned int   lock_source: 1
 if true, take the source lock when opening or fail
 
         } 
 
      } 
 
   } 
 
   uint64_t   reserved_size [8]
 Reserve space to compatibly add future options.
 
}; 
 

Detailed Description

Attributes to pass to ach_open.

Library users should access this struct through the provided functions rather than directly manipulating it.

Field Documentation

enum ach_map ach_attr::map

Where to put channel backing memory.

Replaces map_anon.

int ach_attr::map_anon

anonymous channel (put it in process heap, not shm).

Deprecated:
This field is deprecated in favor of the map field.

The documentation for this struct was generated from the following file: