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.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to