ACE Tutorial 021
Pooling your memories

The previous two tutorials were very primitive & basic. They showed very simple uses of shared memory and memory mapped files.

If we move the level of abstraction up just a bit, the next thing we encounter is memory pools. ACE_Malloc<> provides this to us.

In this tutorial, we'll use ACE_Malloc<> to create a memory pool that is sharable between a client and server. We'll use a memory mapped file to provide the physical storage but shared memory works just as well.

Kirthika's abstract:

[Tutorial Index] [Continue This Tutorial]