Home
last modified time | relevance | path

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

12

/llvm-project/lldb/unittests/Process/
H A DProcessEventDataTest.cpp121 ThreadSP CreateThread(ProcessSP &process_sp, bool should_stop, in CreateThread() function
209 ThreadSP thread_sp = CreateThread(process_sp, true, true); in TEST_F()
243 thread_sp = CreateThread(process_sp, false, true); in TEST_F()
246 thread_sp = CreateThread(process_sp, true, true); in TEST_F()
250 thread_sp = CreateThread(process_sp, false, false); in TEST_F()
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_thread_registry_test.cpp75 EXPECT_EQ(0U, registry->CreateThread(get_uid(0), true, -1, 0, nullptr)); in TestRegistry()
79 EXPECT_EQ(i, registry->CreateThread(get_uid(i), is_detached(i), 100 + i, in TestRegistry()
100 registry->CreateThread(get_uid(i), is_detached(i), 0, 0, nullptr)); in TestRegistry()
203 args->registry->CreateThread(0, false, 0, (void*)args->shard)); in ThreadedTestRegistry()
216 EXPECT_EQ(0U, registry->CreateThread(0, true, -1, 0)); in ThreadedTestRegistry()
262 EXPECT_EQ(0U, registry.CreateThread(0, true, -1, 0, nullptr));
264 registry.CreateThread(0, true, 0, StackDepotPut(stack1), nullptr);
265 registry.CreateThread(0, true, 0, StackDepotPut(stack2), nullptr);
H A Dsanitizer_pthread_wrappers.h49 *thread = CreateThread(0, 0, PthreadHelperThreadProc, data, 0, 0); in PTHREAD_CREATE()
/llvm-project/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_right_oob.cpp19 HANDLE thr = CreateThread(NULL, 0, thread_proc, 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 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/compiler-rt/lib/asan/
H A Dasan_win.cpp152 INTERCEPTOR_WINAPI(HANDLE, CreateThread, LPSECURITY_ATTRIBUTES security, in INTERCEPTOR_WINAPI() argument
165 return REAL(CreateThread)(security, stack_size, asan_thread_start, t, in INTERCEPTOR_WINAPI()
183 ASAN_INTERCEPT_FUNC(CreateThread); in InitializePlatformInterceptors()
H A Dasan_fuchsia.cpp124 u32 tid = asanThreadRegistry().CreateThread(0, detached, parent_tid, thread); in CreateAsanThread()
/llvm-project/lldb/include/lldb/Interpreter/Interfaces/
H A DOperatingSystemInterface.h20 virtual StructuredData::DictionarySP CreateThread(lldb::tid_t tid, in CreateThread() function
/llvm-project/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/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DOperatingSystemPythonInterface.h39 StructuredData::DictionarySP CreateThread(lldb::tid_t tid,
H A DOperatingSystemPythonInterface.cpp44 OperatingSystemPythonInterface::CreateThread(lldb::tid_t tid, in CreateThread()
41 OperatingSystemPythonInterface::CreateThread(lldb::tid_t tid, CreateThread() function in OperatingSystemPythonInterface
/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp359 lldb::ThreadSP OperatingSystemPython::CreateThread(lldb::tid_t tid, in CreateThread() function in OperatingSystemPython
364 "OperatingSystemPython::CreateThread (tid = 0x%" PRIx64 in CreateThread()
371 m_operating_system_interface_sp->CreateThread(tid, context); in CreateThread()
H A DOperatingSystemPython.h61 lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override;
/llvm-project/openmp/runtime/test/
H A Domp_testsuite.h105 pthread = CreateThread(NULL, 0, __thread_func_wrapper, info, 0, NULL); in pthread_create()
/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp66 return thread_registry->CreateThread(0, detached, parent_tid, arg); in ThreadCreate()
/llvm-project/third-party/unittest/googletest/src/
H A Dgtest-port.cc430 static HANDLE CreateThread(Runnable* runnable, in CreateThread() function in testing::internal::__anon530752680311::ThreadWithParamSupport
434 HANDLE thread_handle = ::CreateThread( in CreateThread()
479 ThreadWithParamSupport::CreateThread(runnable, thread_can_start)) {} in ThreadWithParamBase()
603 HANDLE watcher_thread = ::CreateThread( in StartWatcherThreadFor()
/llvm-project/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.h110 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, u32 stack_tid,
112 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg) {
113 return CreateThread(user_id, detached, parent_tid, 0, arg);
/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp79 memprofThreadRegistry().CreateThread( in Create()
/llvm-project/lldb/tools/lldb-dap/
H A DJSONUtils.h423 llvm::json::Value CreateThread(lldb::SBThread &thread, lldb::SBFormat &format);

12