23 GenericThread(
const std::string &name,
const std::string &sync_name) :
34 GenericThread(
const std::string &name,
const std::string &sync_name, GenericThread::ThreadFunc *
function,
void *user_data) :
46 nassertv(_function !=
nullptr);
47 (*_function)(_user_data);