/home/serif/byzantine_generals/src/mailbox.h File Reference

Contains the struct definition for Mailbox. More...

#include <boost/interprocess/sync/interprocess_semaphore.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#include "orderqueue.h"
Include dependency graph for mailbox.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Mailbox
 Plain Old Data (POD) container for a General's end point of communication. Each general owns exactly one Mailbox, where other Generals can place Orders bound for the owning general. The owning general only reads from the contained OrderQueue, while other generals only write to the contained OrderQueue. In this way, the OrderQueue models a multi-producer, single-consumer problem. More...

Detailed Description

Contains the struct definition for Mailbox.

Author:
Reshen Amin <reshen@zensrc.com>
License:
Byzantine Generals Problem Coding Sample.
Copyright (C) 2010 Reshen Amin.
See License for details.

Definition in file mailbox.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Generated on Mon May 31 15:35:43 2010 for Byzantine Generals Coding Sample by  doxygen 1.6.3