Boost logo

Threads-Devel :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-07-26 22:23:35


On a very heavy thread_specific_ptr creation and destruction, e.g.
spirit grammar with closure instantiation, the vector size becomes
easily *big*, and the boost::function<void, void*>* isn't ever
So the application rapidly becomes very memory-consuming (hundreds of
Could tss uses a list and have tss point to it through a list iterator?
And delete the function when tss is destroyed? (Why isn't
boost::function passed by-value anyway?).

Best regards,

Felipe Magno de Almeida

Threads-Devel list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at