Beginnings of C++ threading