On 28/11/2014 21:52, Peter Lieven wrote: >> > + alloc_pool_size += atomic_xchg(&release_pool_size, 0); > I had alloc_pool_size = in my original Patch. > It shouldn't make a difference, since alloc_pool_size should be 0 > when we reach this code piece. But if for some reason release_pool_size > is inaccurate we add this error to alloc_pool_size again and again > and eventually end up not adding coroutines to the thread local pool below > altough it might be empty in the worst case.
Oops, this must come from a rebase. Thanks for pointing it out. Paolo