Boost logo

Boost :

From: Ion Gaztañaga (ion_g_m_at_[hidden])
Date: 2005-07-08 20:00:49


Hi to all,

 I've just uploaded a new Shmem snapshot to Boost Vault. This version has
some interesting new features so that users can use Shmem to build more
complex IPC mechanisms. The documentation is also available in the usual
place:

http://ice.prohosting.com/newfunk/boost/libs/shmem/index.html

New features:

-> Some bugfixes as always

-> Named objects can be now destroyed via pointer without using the name

-> More internal checks to avoid incorrect types, bad alignments or bad
pointers.

-> Added new STL-like allocator: cached_node_allocator. This allocator has a
configurable private cache of nodes. The halfway between node_allocator and
private_node_allocator.

-> Atomic shared memory creation/destruction with optional user
initialization/destruction functor. This allows the design of more advanced
IPC mechanisms.

-> Shared memory creation and destruction unification in Unix/Windows. When
last connected
process calls "close()", the shared memory is destroyed.

-> Memory mapped file wrapper and Shmem adapted to work with memory mapped
files. Now you can get automatic persistence of the classes you create in
memory.

-> New inter-process mechanism: A process-shared message queue. This message
queue has priority-based message reception, and can work in blocking,
non-blocking and timed way. This is a practical example of how Shmem classes
can be used to implement higher order IPC mechanisms.

That's all. All comments and suggestions are welcome!

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk