RunOnce: platform neutral version of std::call_once, pthread_once, and Windows InitOnceXX