Contains the struct definition for Mailbox. More...
#include <boost/interprocess/sync/interprocess_semaphore.hpp>#include <boost/interprocess/allocators/allocator.hpp>#include "orderqueue.h"

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... | |
Contains the struct definition for Mailbox.
Definition in file mailbox.h.
1.6.3