// Copyright 2019 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 "test/wasm-api-tests/wasm-api-test.h" #include <mutex> #include <thread> namespace v8 { namespace internal { namespace wasm { Shared; namespace { const int kNumThreads = …; const int kIterationsPerThread = …; int g_traces; own<Trap> Callback(void* env, const Val args[], Val results[]) { … } void Main(Engine* engine, Shared<Module>* shared, std::mutex* mutex, int id) { … } } // namespace TEST_F(WasmCapiTest, Threads) { … } TEST_F(WasmCapiTest, MultiStoresOneThread) { … } } // namespace wasm } // namespace internal } // namespace v8