C++, Boost, Multi-threading, Distributed, Generic Data Structure