_sharedmem_ctrl_t Struct Reference

#include <sharedmem.h>

Collaboration diagram for _sharedmem_ctrl_t:

Collaboration graph
[legend]

Data Fields

pthread_mutex_t mutex
pthread_cond_t cond
volatile size_t size
volatile int ref

Detailed Description

Shared memory control structure. Separately mapped.

Definition at line 102 of file debian/libsharedmem1-dev/usr/include/sharedmem.h.


Field Documentation

pthread_mutex_t _sharedmem_ctrl_t::mutex

Shared mutex

Definition at line 105 of file debian/libsharedmem1-dev/usr/include/sharedmem.h.

pthread_cond_t _sharedmem_ctrl_t::cond

Shared condition

Definition at line 106 of file debian/libsharedmem1-dev/usr/include/sharedmem.h.

volatile size_t _sharedmem_ctrl_t::size

Size of the block

Definition at line 108 of file debian/libsharedmem1-dev/usr/include/sharedmem.h.

Referenced by sharedmem_create(), sharedmem_resize(), sharedmem_resize2(), and sharedmem_size_changed().

volatile int _sharedmem_ctrl_t::ref

Reference count

Definition at line 109 of file debian/libsharedmem1-dev/usr/include/sharedmem.h.

Referenced by sharedmem_close(), sharedmem_create(), and sharedmem_open().


The documentation for this struct was generated from the following files:
Generated on Thu Sep 13 18:14:47 2007 for libsharedmem by  doxygen 1.5.1