Converted c style Concurrency files to c++