$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: William E. Kempf (wekempf_at_[hidden])
Date: 2003-02-12 12:13:44
Peter Dimov said:
> 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.
True enough.
-- William E. Kempf