shm_allocator::shm_allocator_header Struct Reference

shared memory allocator header structure More...

List of all members.

Public Attributes

key_t key
pthread_mutex_t lock
shm_ptr< shm_allocator_blockfreelist


Detailed Description

shared memory allocator header structure

This header structure contains the shared memory key, POSIX threads mutext lock and shared memory pointer containing the offset of the first free memory block.

Definition at line 73 of file shm_allocator.h.


Member Data Documentation

key_t shm_allocator::shm_allocator_header::key

Definition at line 75 of file shm_allocator.h.

Referenced by shm_allocator::init(), and shm_allocator::init_allocator_header().

pthread_mutex_t shm_allocator::shm_allocator_header::lock

Definition at line 76 of file shm_allocator.h.

Referenced by shm_allocator::alloc(), shm_allocator::free(), and shm_allocator::init_allocator_header_lock().

shm_ptr<shm_allocator_block> shm_allocator::shm_allocator_header::freelist

Definition at line 77 of file shm_allocator.h.

Referenced by shm_allocator::init_allocator_header().


The documentation for this struct was generated from the following file:
Project shmq hosted by   SourceForge.net
Documentation generated on Sat Sep 2 10:07:40 2006 for shmq by   doxygen.org 1.4.6