Home
last modified time | relevance | path

Searched refs:thr1 (Results 1 – 10 of 10) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dthrd_current.c80 thrd_t thr1, thr2; in thrd_current_0200() local
83 result = thrd_create(&thr1, threadfuncB, NULL); in thrd_current_0200()
98 if (thrd_equal(thr1, thr2)) { in thrd_current_0200()
102 if (thrd_equal(thr1, thrd_current())) { in thrd_current_0200()
110 result = thrd_join(thr1, NULL); in thrd_current_0200()
Dthrd_equal.c80 thrd_t thr1, thr2; in thrd_equal_0200() local
83 result = thrd_create(&thr1, threadfuncB, NULL); in thrd_equal_0200()
98 if (thrd_equal(thr1, thr2)) { in thrd_equal_0200()
102 if (thrd_equal(thr1, thrd_current())) { in thrd_equal_0200()
110 result = thrd_join(thr1, NULL); in thrd_equal_0200()
/third_party/boost/libs/interprocess/test/
Dsharable_mutex_test_template.hpp137 boost::interprocess::ipcdetail::OS_thread_t thr1; in test_plain_sharable_mutex() local
138 … boost::interprocess::ipcdetail::thread_launch(thr1, thread_adapter<SM>(plain_shared,&s1, mtx)); in test_plain_sharable_mutex()
143 boost::interprocess::ipcdetail::thread_join(thr1); in test_plain_sharable_mutex()
163 boost::interprocess::ipcdetail::OS_thread_t thr1; in test_plain_sharable_mutex() local
164 … boost::interprocess::ipcdetail::thread_launch(thr1, thread_adapter<SM>(plain_shared,&s1, mtx)); in test_plain_sharable_mutex()
179 boost::interprocess::ipcdetail::thread_join(thr1); in test_plain_sharable_mutex()
211 boost::interprocess::ipcdetail::OS_thread_t thr1; in test_try_sharable_mutex() local
212 boost::interprocess::ipcdetail::thread_launch(thr1, thread_adapter<SM>(try_shared,&s1,mtx)); in test_try_sharable_mutex()
219 boost::interprocess::ipcdetail::thread_join(thr1); in test_try_sharable_mutex()
256 boost::interprocess::ipcdetail::OS_thread_t thr1; in test_timed_sharable_mutex() local
[all …]
/third_party/boost/libs/thread/example/
Dshared_monitor.cpp131 boost::thread thr1(test_w); in main() local
132 v.push_back(&thr1); in main()
/third_party/flutter/glfw/deps/
Dtinycthread.c409 int thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument
412 return thr0 == thr1; in thrd_equal()
414 return pthread_equal(thr0, thr1); in thrd_equal()
Dtinycthread.h356 int thrd_equal(thrd_t thr0, thrd_t thr1);
/third_party/mesa3d/include/c11/
Dthreads_posix.h312 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument
314 return pthread_equal(thr0, thr1); in thrd_equal()
Dthreads_win32.h421 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument
423 return GetThreadId(thr0) == GetThreadId(thr1); in thrd_equal()
/third_party/libsnd/src/G72x/
Dg72x.c425 short ylfrac, thr1 ; in update() local
434 thr1 = (32 + ylfrac) << ylint ; /* threshold */ in update()
435 thr2 = (ylint > 9) ? 31 << 10 : thr1 ; /* limit thr2 to 31 << 10 */ in update()
/third_party/boost/libs/process/test/
Dasync.cpp185 std::thread thr1{[&]{io_context1.run();}}; in __anon052f0dbf0b02() variable
188 thr1.join();