auto func = &CInputService::Init;
std::mt19937 rng;
rng.seed(std::random_device()());
std::uniform_int_distribution<std::mt19937::result_type> dist(0, 0xFFFFFFFF);
CInputService* randomptr = (CInputService*) dist(rng);
std::thread th(func, randomptr);
th.join();