Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/libc/src/__support/threads/
H A Dthread.h107 bool detached = false) {
110 return run(ThreadStyle::POSIX, runner, arg, stack, size, detached);
114 bool detached = false) {
117 return run(ThreadStyle::STDC, runner, arg, stack, size, detached);
142 size_t stack_size, bool detached);
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp122 bool detached, const char *name) { in CreateAsanThread() argument
127 u32 tid = asanThreadRegistry().CreateThread(0, detached, parent_tid, &args); in CreateAsanThread()
173 static void *BeforeThreadCreateHook(uptr user_id, bool detached, in BeforeThreadCreateHook() argument
184 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); in BeforeThreadCreateHook()
254 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() argument
258 reinterpret_cast<uptr>(thread), detached, name, in __sanitizer_before_thread_create_hook()
H A Dasan_win.cpp149 bool detached = false; // FIXME: how can we determine it on Windows? in INTERCEPTOR_WINAPI() local
152 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR_WINAPI()
H A Dasan_interceptors.cpp209 int detached = 0; in INTERCEPTOR() local
211 REAL(pthread_attr_getdetachstate)(attr, &detached); in INTERCEPTOR()
215 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR()
H A Dasan_thread.h62 u32 parent_tid, StackTrace *stack, bool detached);
H A Dasan_thread.cpp79 bool detached) { in Create() argument
86 asanThreadRegistry().CreateThread(0, detached, parent_tid, &args); in Create()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp22 status(ThreadStatusInvalid), detached(false), in ThreadContextBase()
59 CHECK_EQ(false, detached); in SetJoined()
71 if (!detached || status == ThreadStatusCreated) status = ThreadStatusFinished; in SetFinished()
88 detached = _detached; in SetCreated()
136 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument
173 tctx->SetCreated(user_id, total_threads_++, detached, in CreateThread()
251 tctx->detached = true; in DetachThread()
289 bool dead = tctx->detached; in FinishThread()
H A Dsanitizer_thread_registry.h51 bool detached; variable
109 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
/llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/
H A DTestFork.py17 self.detached = None
37 self.detached = packet
51 self.assertRegex(self.server.responder.detached,
H A DTestGDBRemoteClient.py378 self.detached = None
384 self.detached = packet
391 self.assertEqual(self.server.responder.detached, "D")
398 self.detached = None
408 self.detached = packet
415 self.assertRegex(self.server.responder.detached, r"D;0*400")
/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util_posix.cpp234 bool detached; member
379 ScopedThread::ScopedThread(bool detached, bool main) { in ScopedThread() argument
382 impl_->detached = detached; in ScopedThread()
388 &attr, detached ? PTHREAD_CREATE_DETACHED : PTHREAD_CREATE_JOINABLE); in ScopedThread()
399 if (!impl_->detached) in ~ScopedThread()
407 CHECK(!impl_->detached); in Detach()
408 impl_->detached = true; in Detach()
H A Dtsan_test_util.h76 explicit ScopedThread(bool detached = false, bool main = false);
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_thread.cpp47 u32 ThreadCreate(u32 parent_tid, bool detached, void *arg) { in ThreadCreate() argument
48 return thread_registry->CreateThread(0, detached, parent_tid, arg); in ThreadCreate()
H A Dlsan_fuchsia.cpp93 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() argument
102 u32 tid = ThreadCreate(parent_tid, detached, &args); in __sanitizer_before_thread_create_hook()
H A Dlsan_thread.h48 u32 ThreadCreate(u32 tid, bool detached, void *arg = nullptr);
H A Dlsan_interceptors.cpp455 int detached = 0; in INTERCEPTOR() local
456 pthread_attr_getdetachstate(attr, &detached); in INTERCEPTOR()
471 int tid = ThreadCreate(GetCurrentThread(), IsStateDetached(detached)); in INTERCEPTOR()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp94 static void *BeforeThreadCreateHook(uptr user_id, bool detached, in BeforeThreadCreateHook() argument
207 void *__sanitizer_before_thread_create_hook(thrd_t thread, bool detached, in __sanitizer_before_thread_create_hook() argument
211 reinterpret_cast<uptr>(thread), detached, name, in __sanitizer_before_thread_create_hook()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl_thread.cpp48 if (tctx->detached || tctx->status != ThreadStatusFinished) in CollectThreadLeaks()
119 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() argument
122 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent_tid, &args); in ThreadCreate()
238 if (!detached) { in OnFinished()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cpp42 if (tctx->detached || tctx->status != ThreadStatusFinished) in CollectThreadLeaks()
116 Tid ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() argument
130 Tid tid = ctx->thread_registry.CreateThread(uid, detached, parent, &arg); in ThreadCreate()
232 if (!thr->tctx->detached) { in ThreadFinish()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp76 bool detached) { in Create() argument
83 memprofThreadRegistry().CreateThread(0, detached, parent_tid, &args); in Create()
H A Dmemprof_interceptors.cpp161 int detached = 0; in INTERCEPTOR() local
163 REAL(pthread_attr_getdetachstate)(attr, &detached); in INTERCEPTOR()
178 &stack, detached); in INTERCEPTOR()
H A Dmemprof_thread.h61 bool detached);
/llvm-project-15.0.7/libc/src/__support/threads/linux/
H A Dthread.cpp142 size_t size, bool detached) { in run() argument
178 uint32_t(detached ? DetachState::DETACHED : DetachState::JOINABLE); in run()
/llvm-project-15.0.7/mlir/docs/Bindings/
H A DPython.md206 be created detached (top-level) and once added to another operation, they are
209 to a transitive parent that is still detached, necessitating further accounting
211 the IR with a parent of their outer-most detached operation, but then once it is
220 a detached state, and they are interned at the context level so that there is
224 The C/C++ API allows for Region/Block to also be detached, but it simplifies the
231 If we ever want to re-introduce detached regions/blocks, we could do so with new
310 the operation is created in the *detached* state;
360 operation is created in the *detached* state, that is, it is not added into the
626 is created in the detached state.
673 operations (unlike in C++ that supports detached regions).
[all …]
/llvm-project-15.0.7/lldb/docs/man/
H A Dlldb-server.rst187 to be detached and continue execution.

12