Apache2
testshm.h File Reference
#include "apr.h"
#include "apr_time.h"
#include "apr_atomic.h"
#include "apr_strings.h"
#include <assert.h>
Include dependency graph for testshm.h:

Go to the source code of this file.

Data Structures

struct  mbox
 

Macros

#define N_BOXES   10
 
#define N_MESSAGES   100
 
#define SHARED_SIZE   (apr_size_t)(N_BOXES * sizeof(mbox))
 
#define SHARED_FILENAME   "data/apr.testshm.shm"
 
#define MSG   "Sending a message"
 

Typedefs

typedef struct mbox mbox
 

Variables

mboxboxes
 

Macro Definition Documentation

◆ MSG

#define MSG   "Sending a message"

◆ N_BOXES

#define N_BOXES   10

◆ N_MESSAGES

#define N_MESSAGES   100

◆ SHARED_FILENAME

#define SHARED_FILENAME   "data/apr.testshm.shm"

◆ SHARED_SIZE

#define SHARED_SIZE   (apr_size_t)(N_BOXES * sizeof(mbox))

Typedef Documentation

◆ mbox

typedef struct mbox mbox

Variable Documentation

◆ boxes

mbox* boxes