
16 Mar
2009
16 Mar
'09
1:48 p.m.
On Mon, 16 Mar 2009 13:41:34 +0100, Tim Blechmann <tim@klingt.org> 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