Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-02-10 17:40:26


William E. Kempf wrote:
>
> It's not just the efficiencies that concern me with dynamic
> allocation. It's the additional points of failure that occur in this
> case as well. For instance, check out the article on embedded coding
> in the most recent CUJ (sorry, don't have the exact title handy).
> Embedded folks generally avoid dynamic memory when ever possible, so
> I'm a little uncomfortable with a solution that mandates that the
> implementation use dynamic allocation of memory. At least, if that's
> the only solution provided.

This allocation isn't much different than the allocation performed by
pthread_create. An embedded implementation can simply impose an upper limit
on the total number of async_calls and never malloc.


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