Home
last modified time | relevance | path

Searched refs:mut (Results 1 – 15 of 15) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp22 std::mutex mut; variable
30 std::unique_lock<std::mutex> lk(mut); in f1()
40 std::unique_lock<std::mutex> lk(mut); in f2()
54 std::unique_lock<std::mutex>lk(mut); in main()
61 std::unique_lock<std::mutex>lk(mut); in main()
78 std::unique_lock<std::mutex>lk(mut); in main()
Dnotify_all.pass.cpp22 std::mutex mut; variable
30 std::unique_lock<std::mutex> lk(mut); in f1()
40 std::unique_lock<std::mutex> lk(mut); in f2()
54 std::unique_lock<std::mutex>lk(mut); in main()
61 std::unique_lock<std::mutex>lk(mut); in main()
Dwait.pass.cpp22 std::mutex mut; variable
29 std::unique_lock<std::mutex> lk(mut); in f()
40 std::unique_lock<std::mutex>lk(mut); in main()
Dwait_for.pass.cpp26 std::mutex mut; variable
37 std::unique_lock<std::mutex> lk(mut); in f()
62 std::unique_lock<std::mutex>lk(mut); in main()
76 std::unique_lock<std::mutex>lk(mut); in main()
Dwait_for_pred.pass.cpp36 std::mutex mut; variable
47 std::unique_lock<std::mutex> lk(mut); in f()
70 std::unique_lock<std::mutex>lk(mut); in main()
84 std::unique_lock<std::mutex>lk(mut); in main()
Dwait_pred.pass.cpp24 std::mutex mut; variable
40 std::unique_lock<std::mutex> lk(mut); in f()
50 std::unique_lock<std::mutex>lk(mut); in main()
Dwait_until.pass.cpp43 std::mutex mut; variable
52 std::unique_lock<std::mutex> lk(mut); in f()
77 std::unique_lock<std::mutex>lk(mut); in main()
91 std::unique_lock<std::mutex>lk(mut); in main()
Dwait_until_pred.pass.cpp53 std::mutex mut; variable
62 std::unique_lock<std::mutex> lk(mut); in f()
88 std::unique_lock<std::mutex>lk(mut); in main()
102 std::unique_lock<std::mutex>lk(mut); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dmutex.cpp219 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable
227 pthread_mutex_lock(&mut); in __call_once()
229 pthread_cond_wait(&cv, &mut); in __call_once()
239 pthread_mutex_unlock(&mut); in __call_once()
243 pthread_mutex_lock(&mut); in __call_once()
247 pthread_mutex_unlock(&mut); in __call_once()
255 pthread_mutex_lock(&mut); in __call_once()
259 pthread_mutex_unlock(&mut); in __call_once()
268 pthread_mutex_unlock(&mut); in __call_once()
Ddebug.cpp44 mut() in mut() function
114 RLock _(mut()); in __find_c_from_i()
125 WLock _(mut()); in __insert_ic()
148 WLock _(mut()); in __insert_c()
196 WLock _(mut()); in __erase_i()
229 WLock _(mut()); in __invalidate_all()
255 mut().lock(); in __find_c_and_lock()
260 mut().unlock(); in __find_c_and_lock()
269 mut().unlock(); in __find_c_and_lock()
279 mut().unlock(); in __find_c_and_lock()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/
Dwait.exception.pass.cpp30 Mutex mut; variable
47 mut.lock(); in main()
48 cv.wait(mut); in main()
Dwait_for.exception.pass.cpp30 Mutex mut; variable
47 mut.lock(); in main()
48 cv.wait_for(mut, std::chrono::milliseconds(250)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/
Dnotify_all_at_thread_exit.pass.cpp22 std::mutex mut; variable
29 std::unique_lock<std::mutex> lk(mut); in func()
36 std::unique_lock<std::mutex> lk(mut); in main()
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0013-temp-collective-ndk-hackathon-fixes.patch371 @@ -45,6 +46,7 @@ mut()
384 RLock _(mut());
394 WLock _(mut());
404 WLock _(mut());
414 WLock _(mut());
424 WLock _(mut());
434 mut().lock();
439 mut().unlock();
448 mut().unlock();
458 mut().unlock();
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_threads.h647 static mutex_t mut; member
653 typename _STLP_beos_static_lock_data<__inst>::mutex_t _STLP_beos_static_lock_data<__inst>::mut;
661 _STLP_auto_lock al(_STLP_beos_static_lock_data<0>::mut); in _M_acquire_lock()