Home
last modified time | relevance | path

Searched refs:this_thread (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dthread_info_base.hpp39 static void* allocate(thread_info_base* this_thread, std::size_t size) in allocate() argument
41 if (this_thread && this_thread->reusable_memory_) in allocate()
43 void* const pointer = this_thread->reusable_memory_; in allocate()
44 this_thread->reusable_memory_ = 0; in allocate()
62 static void deallocate(thread_info_base* this_thread, in deallocate() argument
67 if (this_thread && this_thread->reusable_memory_ == 0) in deallocate()
71 this_thread->reusable_memory_ = pointer; in deallocate()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dtask_io_service.ipp135 thread_info this_thread;
136 this_thread.private_outstanding_work = 0;
137 thread_call_stack::context ctx(this, this_thread);
142 for (; do_run_one(lock, this_thread, ec); lock.lock())
157 thread_info this_thread;
158 this_thread.private_outstanding_work = 0;
159 thread_call_stack::context ctx(this, this_thread);
163 return do_run_one(lock, this_thread, ec);
175 thread_info this_thread;
176 this_thread.private_outstanding_work = 0;
[all …]
/external/llvm-project/lldb/unittests/Utility/
DTimerTest.cpp21 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
36 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
39 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
56 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TEST()
59 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
80 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TEST()
84 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
88 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
/external/llvm-project/libcxx/test/std/thread/futures/futures.async/
Dasync.pass.cpp38 std::this_thread::sleep_for(ms(200)); in f0()
47 std::this_thread::sleep_for(ms(200)); in f1()
54 std::this_thread::sleep_for(ms(200)); in f2()
60 std::this_thread::sleep_for(ms(200)); in f3()
67 std::this_thread::sleep_for(ms(200)); in f4()
73 std::this_thread::sleep_for(ms(200)); in f5()
85 std::this_thread::sleep_for(ms(300)); in test()
145 std::this_thread::sleep_for(ms(300)); in main()
150 std::this_thread::sleep_for(ms(300)); in main()
/external/libcxx/test/std/thread/futures/futures.async/
Dasync.pass.cpp39 std::this_thread::sleep_for(ms(200)); in f0()
48 std::this_thread::sleep_for(ms(200)); in f1()
55 std::this_thread::sleep_for(ms(200)); in f2()
61 std::this_thread::sleep_for(ms(200)); in f3()
68 std::this_thread::sleep_for(ms(200)); in f4()
74 std::this_thread::sleep_for(ms(200)); in f5()
86 std::this_thread::sleep_for(ms(300)); in test()
146 std::this_thread::sleep_for(ms(300)); in main()
151 std::this_thread::sleep_for(ms(300)); in main()
/external/pigweed/pw_thread_stl/public/pw_thread_stl/
Dsleep_inline.h21 namespace pw::this_thread {
28 return std::this_thread::yield(); in sleep_for()
30 return std::this_thread::sleep_for(for_at_least); in sleep_for()
37 return std::this_thread::yield(); in sleep_until()
39 return std::this_thread::sleep_until(until_at_least); in sleep_until()
/external/openscreen/platform/test/
Dfake_clock.cc19 : control_thread_id_(std::this_thread::get_id()) { in FakeClock()
26 OSP_CHECK_EQ(std::this_thread::get_id(), control_thread_id_); in ~FakeClock()
39 OSP_CHECK_EQ(std::this_thread::get_id(), control_thread_id_); in Advance()
68 OSP_CHECK_EQ(std::this_thread::get_id(), control_thread_id_); in SubscribeToTimeChanges()
75 OSP_CHECK_EQ(std::this_thread::get_id(), control_thread_id_); in UnsubscribeFromTimeChanges()
/external/libcxx/test/std/thread/futures/futures.unique_future/
Dget.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
/external/llvm-project/libcxx/test/std/thread/futures/futures.shared_future/
Dget.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
/external/libcxx/test/std/thread/futures/futures.shared_future/
Dget.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
/external/llvm-project/libcxx/test/std/thread/futures/futures.unique_future/
Dget.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
Dwait.pass.cpp26 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
41 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
/external/swiftshader/third_party/marl/src/
Dscheduler_test.cpp116 auto threadID = std::this_thread::get_id(); in TEST_P()
118 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P()
123 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST_P()
143 auto threadID = std::this_thread::get_id(); in TEST_P()
145 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P()
150 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST_P()
175 threads.emplace(std::this_thread::get_id()); in TEST_F()
181 ASSERT_EQ(threads.count(std::this_thread::get_id()), 0U); in TEST_F()
/external/llvm-project/lldb/test/API/functionalities/thread/create_after_attach/
Dmain.cpp15 std::this_thread::sleep_for(microseconds(1)); in thread_1_func()
29 std::this_thread::sleep_for(microseconds(1)); // Set second breakpoint here in thread_2_func()
50 std::this_thread::sleep_for(microseconds(1)); // Set first breakpoint here in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dlock_shared.pass.cpp82 std::this_thread::yield(); in main()
84 std::this_thread::sleep_for(WaitTime); in main()
95 std::this_thread::yield(); in main()
97 std::this_thread::sleep_for(WaitTime); in main()
/external/perfetto/src/base/
Dthread_task_runner_unittest.cc38 std::this_thread::yield(); in TEST_F()
59 std::this_thread::yield(); in TEST_F()
89 std::this_thread::yield(); in TEST_F()
138 std::this_thread::yield(); in TEST_F()
/external/perfetto/src/tracing/consumer_api_deprecated/
Dconsumer_api_deprecated_test.cc103 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TestSingle()
108 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestSingle()
141 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestMany()
148 std::this_thread::sleep_for(std::chrono::seconds(1)); in TestMany()
160 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestMany()
/external/zstd/contrib/pzstd/utils/test/
DThreadPoolTest.cpp43 std::this_thread::yield(); in TEST()
61 std::this_thread::yield(); in TEST()
64 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp60 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
68 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
85 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp62 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
70 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
87 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/ruy/ruy/profiler/
Dtest.cc93 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
95 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
142 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
149 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp55 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
63 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
82 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex_duration.pass.cpp81 std::this_thread::yield(); in main()
83 std::this_thread::yield(); in main()
84 std::this_thread::sleep_for(ShortTime); in main()
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp86 std::this_thread::yield(); in main()
98 std::this_thread::yield(); in main()
115 std::this_thread::yield(); in main()
/external/llvm-project/lldb/test/API/lang/objc/print-obj/
DTestPrintObj.py57 this_thread = lldbutil.get_stopped_thread(
59 self.assertTrue(this_thread)
65 if t != this_thread:

12345678910>>...16