Home
last modified time | relevance | path

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

123456

/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/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/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/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()
Dwait.pass.cpp24 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
32 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
Dwait_for.pass.cpp28 std::this_thread::sleep_for(ms(500)); in func1()
36 std::this_thread::sleep_for(ms(500)); in func3()
43 std::this_thread::sleep_for(ms(500)); in func5()
/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()
Dwait.pass.cpp24 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
32 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
Dwait_for.pass.cpp28 std::this_thread::sleep_for(ms(500)); in func1()
36 std::this_thread::sleep_for(ms(500)); in func3()
43 std::this_thread::sleep_for(ms(500)); in func5()
/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/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()
Dnotify_all.pass.cpp58 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
66 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp33 std::this_thread::sleep_for(ms(250)); in init0()
50 std::this_thread::sleep_for(ms(250)); in init3()
116 std::this_thread::sleep_for(ms(250)); in init41()
122 std::this_thread::sleep_for(ms(250)); in init42()
/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()
Dnotify_all.pass.cpp54 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
62 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Drange.cpp109 map([](int v) { std::this_thread::yield(); return std::make_tuple("1:", v);}); in __anon8162dade0f02()
114 map([](int v) { std::this_thread::yield(); return std::make_tuple("2:", v);}); in __anon8162dade1002()
135 map([](int v) { std::this_thread::yield(); return std::make_tuple("1:", v);}); in __anon8162dade1202()
139 map([](int v) { std::this_thread::yield(); return std::make_tuple("2:", v);}); in __anon8162dade1302()
/external/libaom/libaom/test/
Dregister_state_check.h58 const HANDLE this_thread = GetCurrentThread(); in StoreRegisters() local
59 EXPECT_TRUE(this_thread != NULL); in StoreRegisters()
61 const bool context_saved = GetThreadContext(this_thread, context) == TRUE; in StoreRegisters()
/external/libvpx/libvpx/test/
Dregister_state_check.h57 const HANDLE this_thread = GetCurrentThread(); in StoreRegisters() local
58 EXPECT_TRUE(this_thread != NULL); in StoreRegisters()
60 const bool context_saved = GetThreadContext(this_thread, context) == TRUE; in StoreRegisters()
/external/perfetto/include/perfetto/base/
Dtime.h80 mach_port_t this_thread = mach_thread_self(); in GetThreadCPUTimeNs() local
84 thread_info(this_thread, THREAD_BASIC_INFO, in GetThreadCPUTimeNs()
86 mach_port_deallocate(mach_task_self(), this_thread); in GetThreadCPUTimeNs()
/external/libcxx/include/
Dthread69 namespace this_thread
82 } // this_thread
207 namespace this_thread
212 } // this_thread
257 friend __thread_id this_thread::get_id() _NOEXCEPT;
273 namespace this_thread
283 } // this_thread
426 namespace this_thread
476 } // this_thread
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/stop/
Dmain.cpp23 std::this_thread::sleep_for(std::chrono::milliseconds(300)); in main()
30 std::this_thread::sleep_for(std::chrono::seconds(1)); in main()
/external/python/cpython2/Python/
Dthread_beos.h120 int32 this_thread; in PyThread_start_new_thread() local
125 this_thread = atomic_add( &thread_count, 1 ); in PyThread_start_new_thread()
127 "python thread (%d)", this_thread ); in PyThread_start_new_thread()
Dthread_atheos.h104 atomic_t this_thread; in PyThread_start_new_thread() local
108 this_thread = atomic_add(&thread_count, 1); in PyThread_start_new_thread()
109 PyOS_snprintf(name, sizeof(name), "python thread (%d)", this_thread); in PyThread_start_new_thread()
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
Dtry_lock_for.pass.cpp56 std::this_thread::sleep_for(ms(250)); in main()
63 std::this_thread::sleep_for(ms(300)); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
Dtry_lock_for.pass.cpp58 std::this_thread::sleep_for(ms(250)); in main()
65 std::this_thread::sleep_for(ms(300)); in main()

123456