vendor/v8/test/cctest/cctest.h in mustang-0.0.1 vs vendor/v8/test/cctest/cctest.h in mustang-0.1.0

- old
+ new

@@ -85,11 +85,12 @@ // pseudorandomly select a successor thread and switch execution // to that thread, suspending the current test. class ApiTestFuzzer: public v8::internal::Thread { public: void CallTest(); - explicit ApiTestFuzzer(int num) - : test_number_(num), + explicit ApiTestFuzzer(v8::internal::Isolate* isolate, int num) + : Thread(isolate, "ApiTestFuzzer"), + test_number_(num), gate_(v8::internal::OS::CreateSemaphore(0)), active_(true) { } ~ApiTestFuzzer() { delete gate_; }