// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/base/once.h" #ifdef _WIN32 #include <windows.h> #elif defined(V8_OS_STARBOARD) #include "starboard/thread.h" #else #include <sched.h> #endif namespace v8 { namespace base { void CallOnceImpl(OnceType* once, std::function<void()> init_func) { … } } // namespace base } // namespace v8