
14 Jul
2009
14 Jul
'09
8:59 p.m.
I am using Fedora 9, gcc 4.3.0, and boost 1.38.0. I am inheriting from object_pool so I have access to some of object_pool's hidden members. Is there a way for me to find out how many memory blocks or allocated chunks there are in the free list vs how many chunks are currently being used? Is the object_pool thread safe? Does set_next_size have a permanent effect or will the double algorithm start being used after the next allocation? If it's a permanent effect, is there something I can call to start using the double algorithm again? Thanks