Apache HTTPD
Classes | Macros | Typedefs | Variables
testshm.h File Reference
#include "apr.h"
#include "apr_time.h"
#include "apr_atomic.h"
#include "apr_strings.h"
#include <assert.h>

Go to the source code of this file.

Classes

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"

Definition at line 37 of file testshm.h.

◆ N_BOXES

#define N_BOXES   10

Definition at line 33 of file testshm.h.

◆ N_MESSAGES

#define N_MESSAGES   100

Definition at line 34 of file testshm.h.

◆ SHARED_FILENAME

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

Definition at line 36 of file testshm.h.

◆ SHARED_SIZE

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

Definition at line 35 of file testshm.h.

Typedef Documentation

◆ mbox

Variable Documentation

◆ boxes

mbox* boxes

Definition at line 31 of file testshm.h.