
12 Mar
2009
12 Mar
'09
3:42 a.m.
Hi, Lock is slow. The pool lib is for performance. 2009/3/12 <jon_zhou@agilent.com>:
hi
seems only singleton_pool is thread-safe? but it just only alloc memory and does not call ctor...
why object_pool is not designed as thread-safe? Just like the stl container vector,list... are not thread-safe. The user should lock his mutex by himself if it's in need.