Home
last modified time | relevance | path

Searched refs:thread_adapter (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dsharable_mutex_test_template.hpp126 … boost::interprocess::ipcdetail::thread_launch(tw1, thread_adapter<SM>(plain_exclusive, &e1, mtx)); in test_plain_sharable_mutex()
132 … boost::interprocess::ipcdetail::thread_launch(tw2, thread_adapter<SM>(plain_exclusive, &e2, mtx)); in test_plain_sharable_mutex()
138 … boost::interprocess::ipcdetail::thread_launch(thr1, thread_adapter<SM>(plain_shared,&s1, mtx)); in test_plain_sharable_mutex()
140 … boost::interprocess::ipcdetail::thread_launch(thr2, thread_adapter<SM>(plain_shared,&s2, mtx)); in test_plain_sharable_mutex()
164 … boost::interprocess::ipcdetail::thread_launch(thr1, thread_adapter<SM>(plain_shared,&s1, mtx)); in test_plain_sharable_mutex()
166 … boost::interprocess::ipcdetail::thread_launch(thr2, thread_adapter<SM>(plain_shared,&s2, mtx)); in test_plain_sharable_mutex()
173 … boost::interprocess::ipcdetail::thread_launch(tw1, thread_adapter<SM>(plain_exclusive,&e1, mtx)); in test_plain_sharable_mutex()
176 … boost::interprocess::ipcdetail::thread_launch(tw2, thread_adapter<SM>(plain_exclusive,&e2, mtx)); in test_plain_sharable_mutex()
206 boost::interprocess::ipcdetail::thread_launch(tw1, thread_adapter<SM>(try_exclusive,&e1,mtx)); in test_try_sharable_mutex()
212 boost::interprocess::ipcdetail::thread_launch(thr1, thread_adapter<SM>(try_shared,&s1,mtx)); in test_try_sharable_mutex()
[all …]
Dmutex_test_template.hpp243 boost::interprocess::ipcdetail::thread_launch(tm1, thread_adapter<M>(&lock_and_sleep, &d1, mtx)); in test_mutex_lock()
250 boost::interprocess::ipcdetail::thread_launch(tm2, thread_adapter<M>(&lock_and_sleep, &d2, mtx)); in test_mutex_lock()
278 boost::interprocess::ipcdetail::thread_launch(tm1, thread_adapter<M>(&lock_and_sleep, &d1, mtx)); in test_mutex_lock_timeout()
285 …boost::interprocess::ipcdetail::thread_launch(tm2, thread_adapter<M>(&lock_and_catch_errors, &d2, … in test_mutex_lock_timeout()
310 …boost::interprocess::ipcdetail::thread_launch(tm1, thread_adapter<M>(&try_lock_and_sleep, &d1, mtx… in test_mutex_try_lock()
317 …boost::interprocess::ipcdetail::thread_launch(tm2, thread_adapter<M>(&try_lock_and_sleep, &d2, mtx… in test_mutex_try_lock()
341 …boost::interprocess::ipcdetail::thread_launch(tm1, thread_adapter<M>(&timed_lock_and_sleep, &d1, m… in test_mutex_timed_lock()
348 …boost::interprocess::ipcdetail::thread_launch(tm2, thread_adapter<M>(&timed_lock_and_sleep, &d2, m… in test_mutex_timed_lock()
Dutil.hpp61 class thread_adapter class
64 thread_adapter(void (*func)(void*, P &), void* param1, P &param2) in thread_adapter() function in boost::interprocess::test::thread_adapter
/third_party/boost/libs/thread/example/
Dstarvephil.cpp156 class thread_adapter class
159 thread_adapter(void (*func)(void*), void* param) in thread_adapter() function in thread_adapter
173 boost::thread thrd_phil0(thread_adapter(&phil::do_thread, &p[0])); in main()
174 boost::thread thrd_phil1(thread_adapter(&phil::do_thread, &p[1])); in main()
175 boost::thread thrd_phil2(thread_adapter(&phil::do_thread, &p[2])); in main()
176 boost::thread thrd_phil3(thread_adapter(&phil::do_thread, &p[3])); in main()
177 boost::thread thrd_phil4(thread_adapter(&phil::do_thread, &p[4])); in main()
Dtennis.cpp88 class thread_adapter class
91 thread_adapter(void (*func)(void*), void* param) in thread_adapter() function in thread_adapter