shm_mmap.h File Reference

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <sys/mman.h>
#include <pthread.h>

Include dependency graph for shm_mmap.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  shm_mmap
 Persistent shared memory with backing file. More...

Defines

#define SHM_MMAP_H   1
#define MAPSIZE   (size_t)(1024 * 1024)
#define FORKS   20
#define PARENT_FILE   "/dev/zero"
#define FORKED_FILE   "/opt/local/data/fork%d"
#define FORKED_SIZE   32


Define Documentation

#define FORKED_FILE   "/opt/local/data/fork%d"

Definition at line 23 of file shm_mmap.h.

Referenced by shm_mmap::initMap().

#define FORKED_SIZE   32

Definition at line 24 of file shm_mmap.h.

Referenced by shm_mmap::initMap().

#define FORKS   20

Definition at line 21 of file shm_mmap.h.

#define MAPSIZE   (size_t)(1024 * 1024)

application specific definitions

TODO : make get / set methods with these as class defaults.

Definition at line 20 of file shm_mmap.h.

Referenced by shm_mmap::mmapIntArray(), and shm_mmap::prepareFile().

#define PARENT_FILE   "/dev/zero"

Definition at line 22 of file shm_mmap.h.

#define SHM_MMAP_H   1

Header
/cvsroot/shmq/Library/src/shm_mmap.h,v 1.1.1.1 2006/08/30 12:14:48 oommoo Exp

Definition at line 5 of file shm_mmap.h.


Project shmq hosted by   SourceForge.net
Documentation generated on Sat Sep 2 10:07:40 2006 for shmq by   doxygen.org 1.4.6