Data Fields
seg_footer Struct Reference

Data Fields

offset_t length
 
uint32_t flags
 

Detailed Description

The sizeof(struct seg_footer) is likely less than a CHUNK

Definition at line 161 of file arena.h.

Field Documentation

uint32_t seg_footer::flags

Bit flags that describe the segment: Bits: IS_FREE, WITH_RWLOCK.

Definition at line 171 of file arena.h.

Referenced by shm_arena_print(), and shm_arena_print_list().

offset_t seg_footer::length

total length in units of CHUNKS of the segment including all structs and all padding. Length in bytes = length * CHUNK. This should have the same value as length in the struct seg_header. This is needed to get to the struct seg_header at the top of the segment.

Definition at line 168 of file arena.h.

Referenced by shm_arena_print().


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

Shared Memory Arena version RC-0.0.25