$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] threadpool lockfree_channel
From: Edouard A. (edouard_at_[hidden])
Date: 2009-03-16 09:48:08
On Mon, 16 Mar 2009 13:41:34 +0100, Tim Blechmann <tim_at_[hidden]> wrote:
> while the implementation of your queue looks good to me, i am a bit
> concerned about the use of dynamic memory allocation ... it is
> `lockfree' in terms of the data structure implementation, but allocating
> memory from the os (for node and T), its behavior is depending on the
> new/delete implementation.
What you need is a memory pool for your thread pool. :)
-- EA