Home
last modified time | relevance | path

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

1234

/third_party/boost/libs/fiber/test/
Dtest_fiber_dispatch.cpp150 BOOST_CHECK( f.joinable() ); in fn5()
152 BOOST_CHECK( ! f.joinable() ); in fn5()
297 BOOST_CHECK( f.joinable() ); in test_join_in_fiber()
300 BOOST_CHECK( ! f.joinable() ); in test_join_in_fiber()
305 BOOST_CHECK( ! f1.joinable() ); in test_move_fiber()
307 BOOST_CHECK( f2.joinable() ); in test_move_fiber()
309 BOOST_CHECK( f1.joinable() ); in test_move_fiber()
310 BOOST_CHECK( ! f2.joinable() ); in test_move_fiber()
312 BOOST_CHECK( ! f1.joinable() ); in test_move_fiber()
313 BOOST_CHECK( ! f2.joinable() ); in test_move_fiber()
[all …]
Dtest_fiber_post.cpp150 BOOST_CHECK( f.joinable() ); in fn5()
152 BOOST_CHECK( ! f.joinable() ); in fn5()
297 BOOST_CHECK( f.joinable() ); in test_join_in_fiber()
300 BOOST_CHECK( ! f.joinable() ); in test_join_in_fiber()
305 BOOST_CHECK( ! f1.joinable() ); in test_move_fiber()
307 BOOST_CHECK( f2.joinable() ); in test_move_fiber()
309 BOOST_CHECK( f1.joinable() ); in test_move_fiber()
310 BOOST_CHECK( ! f2.joinable() ); in test_move_fiber()
312 BOOST_CHECK( ! f1.joinable() ); in test_move_fiber()
313 BOOST_CHECK( ! f2.joinable() ); in test_move_fiber()
[all …]
/third_party/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()
/third_party/boost/libs/thread/test/threads/thread/members/
Dtry_join_for_pass.cpp90 BOOST_TEST(t0.joinable()); in main()
92 BOOST_TEST(!t0.joinable()); in main()
104 BOOST_TEST(t0.joinable()); in main()
109 BOOST_TEST(!t0.joinable()); in main()
127 BOOST_TEST(t0.joinable()); in main()
142 BOOST_TEST(t0.joinable()); in main()
Dtry_join_until_pass.cpp91 BOOST_TEST(t0.joinable()); in main()
93 BOOST_TEST(!t0.joinable()); in main()
105 BOOST_TEST(t0.joinable()); in main()
110 BOOST_TEST(!t0.joinable()); in main()
128 BOOST_TEST(t0.joinable()); in main()
143 BOOST_TEST(t0.joinable()); in main()
Djoin_pass.cpp87 BOOST_TEST(t0.joinable()); in main()
89 BOOST_TEST(!t0.joinable()); in main()
96 BOOST_TEST(t0.joinable()); in main()
101 BOOST_TEST(!t0.joinable()); in main()
119 BOOST_TEST(t0.joinable()); in main()
Djoinable_pass.cpp64 BOOST_TEST(t0.joinable()); in main()
66 BOOST_TEST(!t0.joinable()); in main()
Ddetach_pass.cpp64 BOOST_TEST(t0.joinable()); in main()
66 BOOST_TEST(!t0.joinable()); in main()
/third_party/boost/libs/thread/example/
Dstd_scoped_thread.cpp80 if (t.joinable()) { in main()
82 assert( ! t.joinable() ); in main()
93 if (g.joinable()) { in main()
96 assert( ! g.joinable() ); in main()
Dscoped_thread.cpp61 if (t.joinable()) in main()
71 if (g.joinable()) in main()
/third_party/boost/boost/thread/
Dthread_functors.hpp36 if (t.joinable()) in operator ()()
48 if (t.joinable()) in operator ()()
61 if (t.joinable()) in operator ()()
/third_party/boost/libs/thread/doc/
Dscoped_thread.qbk26 …thread wrapper class that instead of calling terminate if the thread is joinable on destruction, c…
34 …) on the destructor if the thread is joinable, strict_scoped_thread<> or scoped_thread<> join the …
72 if (t.joinable())
89 if (t.joinable())
128 Thread destructor terminates the program if the __thread is joinable.
212 bool joinable() const noexcept;
246 Thread destructor terminates the program if the thread is joinable.
361 [section:joinable Member function `joinable()`]
363 bool joinable() const noexcept;
367 [[Returns:] [Equivalent to return t_.joinable().]]
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dfollower_scaler.cc81 if (process_before_scale_out_thread_.joinable()) { in ~FollowerScaler()
84 if (process_before_scale_in_thread_.joinable()) { in ~FollowerScaler()
87 if (process_after_scale_out_thread_.joinable()) { in ~FollowerScaler()
90 if (process_after_scale_in_thread_.joinable()) { in ~FollowerScaler()
/third_party/boost/libs/fiber/src/
Dfiber.cpp50 if ( BOOST_UNLIKELY( ! joinable() ) ) { in join()
60 if ( BOOST_UNLIKELY( ! joinable() ) ) { in detach()
/third_party/glib/glib/deprecated/
Dgthread.h51 gboolean joinable; member
79 gboolean joinable,
102 gboolean joinable,
109 gboolean joinable,
Dgthread-deprecated.c342 gboolean joinable, in g_thread_create() argument
345 return g_thread_create_full (func, data, 0, joinable, 0, 0, error); in g_thread_create()
369 gboolean joinable, in g_thread_create_full() argument
379 if (thread && !joinable) in g_thread_create_full()
381 thread->joinable = FALSE; in g_thread_create_full()
/third_party/boost/boost/fiber/
Dfiber.hpp113 if ( joinable() ) { in ~fiber()
127 if ( joinable() ) { in operator =()
145 bool joinable() const noexcept { in joinable() function in boost::fibers::fiber
/third_party/flutter/skia/third_party/externals/sdl/src/thread/stdcpp/
DSDL_systhread.cpp124 if (cpp_thread->joinable()) { in SDL_SYS_WaitThread()
144 if (cpp_thread->joinable()) { in SDL_SYS_DetachThread()
/third_party/icu/icu4c/source/test/intltest/
Dsimplethread.cpp26 return fThread.joinable() ? 0 : 1; in start()
30 if (fThread.joinable()) { in join()
/third_party/boost/libs/thread/test/
Dtest_thread.cpp182 BOOST_CHECK(thrd.joinable()); in do_test_timed_join()
187 BOOST_CHECK(thrd.joinable()); in do_test_timed_join()
199 BOOST_CHECK(!thrd.joinable()); in do_test_timed_join()
/third_party/boost/boost/asio/detail/
Dstd_thread.hpp51 if (thread_.joinable()) in join()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dstd_thread.hpp51 if (thread_.joinable()) in join()
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dcommunicator_base.cc38 if (!running_thread_.joinable()) { in Join()

1234