llvm-project/llvm/lib/Support/Unix/Threading.inc

6 lines
111 B
C++

#include <thread>
void llvm::call_once(once_flag& flag, void (*fptr)(void)) {
std::call_once(flag, fptr);
}