Home
last modified time | relevance | path

Searched refs:CreateThread (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/lldb/unittests/Process/
H A DProcessEventDataTest.cpp120 ThreadSP CreateThread(ProcessSP &process_sp, bool should_stop, in CreateThread() function
200 ThreadSP thread_sp = CreateThread(process_sp, true, true); in TEST_F()
234 thread_sp = CreateThread(process_sp, false, true); in TEST_F()
237 thread_sp = CreateThread(process_sp, true, true); in TEST_F()
241 thread_sp = CreateThread(process_sp, false, false); in TEST_F()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_thread_registry_test.cpp68 EXPECT_EQ(0U, registry->CreateThread(get_uid(0), true, -1, 0)); in TestRegistry()
72 EXPECT_EQ(i, registry->CreateThread(get_uid(i), is_detached(i), 0, 0)); in TestRegistry()
92 registry->CreateThread(get_uid(i), is_detached(i), 0, 0)); in TestRegistry()
187 args->registry->CreateThread(0, false, 0, (void*)args->shard)); in RunThread()
200 EXPECT_EQ(0U, registry->CreateThread(0, true, -1, 0)); in ThreadedTestRegistry()
H A Dsanitizer_pthread_wrappers.h49 *thread = CreateThread(0, 0, PthreadHelperThreadProc, data, 0, 0); in PTHREAD_CREATE()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Dthread_stack_reuse.cpp24 thr = CreateThread(NULL, 0, thread_proc_1, NULL, 0, NULL); in main()
30 thr = CreateThread(NULL, 0, thread_proc_2, NULL, 0, NULL); in main()
H A Dthread_stack_array_left_oob.cpp19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main()
H A Dthread_stack_array_right_oob.cpp19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main()
H A Ddll_thread_stack_array_left_oob.cpp26 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in test_function()
H A Dthread_simple.cpp15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main()
H A Dthread_suspended.cpp15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, CREATE_SUSPENDED, NULL); in main()
H A Dthread_stress.cpp18 thr[i] = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); in main()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_win.cpp140 INTERCEPTOR_WINAPI(HANDLE, CreateThread, LPSECURITY_ATTRIBUTES security, in INTERCEPTOR_WINAPI() argument
153 return REAL(CreateThread)(security, stack_size, asan_thread_start, t, in INTERCEPTOR_WINAPI()
169 ASAN_INTERCEPT_FUNC(CreateThread); in InitializePlatformInterceptors()
H A Dasan_fuchsia.cpp127 u32 tid = asanThreadRegistry().CreateThread(0, detached, parent_tid, &args); in CreateAsanThread()
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DOperatingSystem.h58 virtual lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) { in CreateThread() function
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp48 return thread_registry->CreateThread(0, detached, parent_tid, arg); in ThreadCreate()
/llvm-project-15.0.7/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.h61 lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override;
H A DOperatingSystemPython.cpp365 lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid, in CreateThread() function in OperatingSystemPython
/llvm-project-15.0.7/openmp/runtime/test/
H A Domp_testsuite.h105 pthread = CreateThread(NULL, 0, __thread_func_wrapper, info, 0, NULL); in pthread_create()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc467 static HANDLE CreateThread(Runnable* runnable, in CreateThread() function in testing::internal::__anon6ac8ce480311::ThreadWithParamSupport
471 HANDLE thread_handle = ::CreateThread( in CreateThread()
516 : thread_(ThreadWithParamSupport::CreateThread(runnable, in ThreadWithParamBase()
642 HANDLE watcher_thread = ::CreateThread( in StartWatcherThreadFor()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_win.cpp166 CreateThread(nullptr, 0, RunThread, &arg, 0, &trace_thread_id); in StopTheWorld()
H A Dsanitizer_thread_registry.h109 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
H A Dsanitizer_thread_registry.cpp136 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() function in __sanitizer::ThreadRegistry
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp83 memprofThreadRegistry().CreateThread(0, detached, parent_tid, &args); in Create()
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DJSONUtils.h377 llvm::json::Value CreateThread(lldb::SBThread &thread);
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl_thread.cpp122 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent_tid, &args); in ThreadCreate()
/llvm-project-15.0.7/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp470 ::CloseHandle(DebugEvent.u.CreateThread.hThread); in main()

12