Interview question from SolidFire for simple multi-threaded indexer using Boost