std::shared_ptr avoid data races for underlying data creation and destruction, not access.
Critical resource (std::vector&lt;uint_32&gt;) needs to be protected with std::mutex or lockfree tools.

which is the best way to access a shared object in a multithreading application?
Is it possible for Wordpress to work from two databases?

The reason I ask is that we're approaching our 100mb limit for database size on our host (1and1) but have up to 100 databases, so what I was hoping to do is essentially 'add on' another database for when the limit is reached?
