c++ library to assist with multi-threaded processing of line-by-line text files