Searched refs:TestThread2 (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_thread_test.cpp | 342 class TestThread2 : public OHOS::Thread { class 344 TestThread2(const int data, ThreadRunFunc runFunc) in TestThread2() function in OHOS::__anon3219ba480110::TestThread2 348 TestThread2() = delete; 349 ~TestThread2() {} in ~TestThread2() 361 bool TestThread2::Run() in Run() 382 std::unique_ptr<TestThread2> test = std::make_unique<TestThread2>(0, TestRun03);
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/thread_benchmark_test/ |
H A D | thread_benchmark_test.cpp | 436 class TestThread2 : public OHOS::Thread { class 438 TestThread2(const int data, ThreadRunFunc runFunc) in TestThread2() function in OHOS::__anone73586050110::TestThread2 442 TestThread2() = delete; 443 ~TestThread2() {} in ~TestThread2() 455 bool TestThread2::Run() in Run() 479 std::unique_ptr<TestThread2> test = std::make_unique<TestThread2>(0, TestRun03); in BENCHMARK_F() 484 ThreadTestStart<TestThread2>(test, state); in BENCHMARK_F()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
H A D | signal_handler_test.cpp | 320 int TestThread2(int threadId, int sig, int total, bool exitEarly) in TestThread2() function 356 threads.push_back(std::thread(TestThread2, i, SIGSEGV, testThreadCount, false)); 390 threads.push_back(std::thread (TestThread2, i, SIGSEGV, testThreadCount, exitEarly)); 509 threads.push_back(std::thread (TestThread2, i, SIGSEGV, testThreadCount, true));
|