Lines Matching refs:thread
104 llvm::Expected<HostThread> thread = in ThreadCreate() local
108 if (!thread) { in ThreadCreate()
110 error_ptr->SetError(Status(thread.takeError())); in ThreadCreate()
112 llvm::consumeError(thread.takeError()); in ThreadCreate()
116 return thread->Release(); in ThreadCreate()
121 bool SBHostOS::ThreadCancel(lldb::thread_t thread, SBError *error_ptr) { in ThreadCancel() argument
122 LLDB_INSTRUMENT_VA(thread, error_ptr); in ThreadCancel()
125 HostThread host_thread(thread); in ThreadCancel()
133 bool SBHostOS::ThreadDetach(lldb::thread_t thread, SBError *error_ptr) { in ThreadDetach() argument
134 LLDB_INSTRUMENT_VA(thread, error_ptr); in ThreadDetach()
141 HostThread host_thread(thread); in ThreadDetach()
150 bool SBHostOS::ThreadJoin(lldb::thread_t thread, lldb::thread_result_t *result, in ThreadJoin() argument
152 LLDB_INSTRUMENT_VA(thread, result, error_ptr); in ThreadJoin()
155 HostThread host_thread(thread); in ThreadJoin()