Home
last modified time | relevance | path

Searched refs:joinable (Results 1 – 25 of 57) sorted by relevance

123

/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dthd_windows.cc49 bool joinable; /* whether it is joinable */ member
69 info_->joinable = options.joinable(); in ThreadInternalsWindows()
70 if (info_->joinable) { in ThreadInternalsWindows()
123 if (!g_thd_info->joinable) { in thread_body()
128 if (g_thd_info->joinable) { in thread_body()
138 if (info_ != nullptr && info_->joinable) { in destroy_thread()
Dthd_posix.cc48 bool joinable; member
88 info->joinable = options.joinable(); in ThreadInternalsPosix()
95 if (options.joinable()) { in ThreadInternalsPosix()
136 if (!arg.joinable) { in ThreadInternalsPosix()
Dthd.h52 Options& set_joinable(bool joinable) { in set_joinable() argument
53 joinable_ = joinable; in set_joinable()
56 bool joinable() const { return joinable_; } in joinable() function
126 ~Thread() { GPR_ASSERT(!options_.joinable() || impl_ == nullptr); } in ~Thread()
/external/rust/crates/tokio/src/runtime/tests/
Dloom_queue.rs33 let (task, _) = task::joinable::<_, Runtime>(async {}); in basic()
42 let (task, _) = task::joinable::<_, Runtime>(async {}); in basic()
84 let (task, _) = task::joinable::<_, Runtime>(async {}); in steal_overflow()
92 let (task, _) = task::joinable::<_, Runtime>(async {}); in steal_overflow()
136 let (task, _) = task::joinable::<_, Runtime>(async {}); in multi_stealer()
173 let (task, _) = task::joinable::<_, Runtime>(async {}); in chained_steal()
176 let (task, _) = task::joinable::<_, Runtime>(async {}); in chained_steal()
Dqueue.rs13 let (task, _) = task::joinable::<_, Runtime>(async {}); in fits_256()
28 let (task, _) = task::joinable::<_, Runtime>(async {}); in overflow()
52 let (task, _) = task::joinable::<_, Runtime>(async {}); in steal_batch()
106 let (task, _) = task::joinable::<_, Runtime>(async {}); in stress1()
161 let (task, _) = task::joinable::<_, Runtime>(async {}); in stress2()
Dtask.rs10 let _ = task::joinable::<_, Runtime>(async { unreachable!() }); in create_drop()
16 let (task, _) = task::joinable(async { in schedule()
29 let (task, _) = task::joinable(async { in shutdown()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/
Ddetach.pass.cpp70 assert(t0.joinable()); in main()
72 assert(!t0.joinable()); in main()
81 assert(t0.joinable()); in main()
83 assert(!t0.joinable()); in main()
Djoinable.pass.cpp50 assert(t0.joinable()); in main()
52 assert(!t0.joinable()); in main()
Djoin.pass.cpp55 assert(t0.joinable()); in main()
57 assert(!t0.joinable()); in main()
/external/libchrome/base/threading/
Dplatform_thread_posix.cc46 : delegate(nullptr), joinable(false), priority(ThreadPriority::NORMAL) {} in ThreadParams()
49 bool joinable; member
61 if (!thread_params->joinable) in ThreadFunc()
87 bool joinable, in CreateThread() argument
99 if (!joinable) in CreateThread()
111 params->joinable = joinable; in CreateThread()
Dsimple_thread.cc26 DCHECK(!options_.joinable || HasBeenJoined()) in ~SimpleThread()
37 DCHECK(options_.joinable) << "A non-joinable thread can't be joined."; in Join()
51 options_.joinable in StartAsync()
Dsimple_thread_unittest.cc165 options.joinable = false; in TEST()
185 options.joinable = false; in TEST()
Dthread.cc111 options.joinable in StartWithOptions()
123 joinable_ = options.joinable; in StartWithOptions()
/external/llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/
Ddetach.pass.cpp70 assert(t0.joinable()); in main()
72 assert(!t0.joinable()); in main()
81 assert(t0.joinable()); in main()
83 assert(!t0.joinable()); in main()
Djoinable.pass.cpp52 assert(t0.joinable()); in main()
54 assert(!t0.joinable()); in main()
Djoin.pass.cpp55 assert(t0.joinable()); in main()
57 assert(!t0.joinable()); in main()
/external/pigweed/pw_thread/
Dthread_facade_test.cc40 EXPECT_FALSE(thread.joinable()); in TEST()
44 EXPECT_TRUE(thread.joinable()); in TEST()
57 EXPECT_TRUE(thread.joinable()); in TEST()
60 EXPECT_FALSE(thread.joinable()); in TEST()
158 EXPECT_TRUE(thread.joinable()); in TEST()
161 EXPECT_FALSE(thread.joinable()); in TEST()
/external/icu/icu4c/source/test/intltest/
Dsimplethread.cpp26 return fThread.joinable() ? 0 : 1; in start()
30 if (fThread.joinable()) { in join()
/external/perfetto/src/base/
Dsubprocess_windows.cc300 if (s_->stdin_thread.joinable()) // Might not exist if CreateProcess failed. in Wait()
302 if (s_->stdouterr_thread.joinable()) in Wait()
319 PERFETTO_DCHECK(!s_->stdin_thread.joinable()); in KillAndWaitForTermination()
320 PERFETTO_DCHECK(!s_->stdouterr_thread.joinable()); in KillAndWaitForTermination()
Dthread_task_runner.cc54 PERFETTO_DCHECK(thread_.joinable()); in ~ThreadTaskRunner()
56 if (thread_.joinable()) in ~ThreadTaskRunner()
Dwatchdog_posix.cc88 if (!thread_.joinable()) { in ~Watchdog()
112 if (thread_.joinable()) { in Start()
/external/pigweed/pw_thread_threadx/
Dthread.cc159 PW_CHECK(joinable()); in detach()
181 PW_CHECK(joinable()); in join()
/external/pigweed/pw_thread_freertos/
Dthread.cc182 PW_CHECK(joinable()); in detach()
214 PW_CHECK(joinable()); in join()
/external/perfetto/src/profiling/perf/
Dunwinding.h282 PERFETTO_DCHECK(thread_.joinable()); in ~UnwinderHandle()
284 if (thread_.joinable()) in ~UnwinderHandle()
/external/pigweed/pw_thread/public/pw_thread/
Dthread.h143 bool joinable() const { return get_id() != Id(); } in joinable() function

123