#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 FORKED_FILE "/opt/local/data/fork%d" |
| #define FORKED_SIZE 32 |
| #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 |
Definition at line 5 of file shm_mmap.h.
|
Project shmq hosted by
|
Documentation generated on Sat Sep 2 10:07:40 2006 for shmq by
|