Boost logo

Boost :

From: Andreas Huber (ah2003_at_[hidden])
Date: 2003-08-25 14:20:24


[snip]
> So far my experience indicates that people only bother with
> allocators when std::allocator is inadequate, i.e. slow.

... or non-deterministic. Using such an allocator in a hard real-time system
is simply not an option.
AFAIK, a deterministic allocator must inevitably have a separate heap for
each possible object size. The difficult part is reserving enough slots in
each heap at startup, before deterministic reaction is necessary. I don't
see how a system could do this automatically when memory is scarce.

Regards,

Andreas


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