Home
last modified time | relevance | path

Searched refs:timed_mutex (Results 1 – 25 of 43) sorted by relevance

12

/third_party/boost/boost/fiber/
Dtimed_mutex.hpp34 class BOOST_FIBERS_DECL timed_mutex { class
47 timed_mutex() = default;
49 ~timed_mutex() { in ~timed_mutex()
54 timed_mutex( timed_mutex const&) = delete;
55 timed_mutex & operator=( timed_mutex const&) = delete;
/third_party/boost/boost/thread/win32/
Dmutex.hpp47 class timed_mutex: class
51 BOOST_THREAD_NO_COPYABLE(timed_mutex)
52 timed_mutex() in timed_mutex() function in boost::timed_mutex
57 ~timed_mutex() in ~timed_mutex()
63 typedef unique_lock<timed_mutex> scoped_timed_lock;
64 typedef detail::try_lock_wrapper<timed_mutex> scoped_try_lock;
/third_party/boost/libs/fiber/doc/
Dmutexes.qbk80 [class_heading timed_mutex]
82 #include <boost/fiber/timed_mutex.hpp>
87 class timed_mutex {
89 timed_mutex();
90 ~timed_mutex();
92 timed_mutex( timed_mutex const& other) = delete;
93 timed_mutex & operator=( timed_mutex const& other) = delete;
112 [member_heading timed_mutex..lock]
124 [member_heading timed_mutex..try_lock]
139 [member_heading timed_mutex..unlock]
[all …]
/third_party/boost/libs/fiber/test/
Dtest_mutex_dispatch.cpp44 void fn3( boost::fibers::timed_mutex & m) { in fn3()
53 void fn4( boost::fibers::timed_mutex & m) { in fn4()
62 void fn5( boost::fibers::timed_mutex & m) { in fn5()
71 void fn6( boost::fibers::timed_mutex & m) { in fn6()
79 void fn7( boost::fibers::timed_mutex & m) { in fn7()
88 void fn8( boost::fibers::timed_mutex & m) { in fn8()
311 test_lock< boost::fibers::timed_mutex >()(); in do_test_timed_mutex()
312 test_exclusive< boost::fibers::timed_mutex >()(); in do_test_timed_mutex()
315 boost::fibers::timed_mutex timed_mtx; in do_test_timed_mutex()
324 boost::fibers::timed_mutex timed_mtx; in do_test_timed_mutex()
[all …]
Dtest_mutex_post.cpp44 void fn3( boost::fibers::timed_mutex & m) { in fn3()
53 void fn4( boost::fibers::timed_mutex & m) { in fn4()
62 void fn5( boost::fibers::timed_mutex & m) { in fn5()
71 void fn6( boost::fibers::timed_mutex & m) { in fn6()
79 void fn7( boost::fibers::timed_mutex & m) { in fn7()
88 void fn8( boost::fibers::timed_mutex & m) { in fn8()
311 test_lock< boost::fibers::timed_mutex >()(); in do_test_timed_mutex()
312 test_exclusive< boost::fibers::timed_mutex >()(); in do_test_timed_mutex()
315 boost::fibers::timed_mutex timed_mtx; in do_test_timed_mutex()
324 boost::fibers::timed_mutex timed_mtx; in do_test_timed_mutex()
[all …]
Dtest_mutex_mt_post.cpp90 boost::fibers::timed_mutex mtx; in test_timed_mutex()
93 boost::thread t1( fn1< boost::fibers::timed_mutex >, std::ref( b), std::ref( mtx) ); in test_timed_mutex()
94 boost::thread t2( fn2< boost::fibers::timed_mutex >, std::ref( b), std::ref( mtx) ); in test_timed_mutex()
Dtest_mutex_mt_dispatch.cpp90 boost::fibers::timed_mutex mtx; in test_timed_mutex()
93 boost::thread t1( fn1< boost::fibers::timed_mutex >, std::ref( b), std::ref( mtx) ); in test_timed_mutex()
94 boost::thread t2( fn2< boost::fibers::timed_mutex >, std::ref( b), std::ref( mtx) ); in test_timed_mutex()
/third_party/boost/libs/fiber/src/
Dtimed_mutex.cpp23 timed_mutex::try_lock_until_( std::chrono::steady_clock::time_point const& timeout_time) noexcept { in try_lock_until_()
50 timed_mutex::lock() { in lock()
74 timed_mutex::try_lock() { in try_lock()
92 timed_mutex::unlock() { in unlock()
/third_party/boost/boost/thread/pthread/
Dmutex.hpp99 class timed_mutex class
108 BOOST_THREAD_NO_COPYABLE(timed_mutex)
109 timed_mutex() in timed_mutex() function in boost::timed_mutex
126 ~timed_mutex() in ~timed_mutex()
310 typedef unique_lock<timed_mutex> scoped_timed_lock;
311 typedef detail::try_lock_wrapper<timed_mutex> scoped_try_lock;
/third_party/boost/libs/thread/example/
Dstrict_lock.cpp28 boost::timed_mutex mtx; in main()
29 boost::unique_lock<boost::timed_mutex> lk(mtx); in main()
30 boost::nested_strict_lock<boost::unique_lock<boost::timed_mutex> > nlk(lk); in main()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/timed_mutex/
Dcopy_fail.cpp26 boost::timed_mutex m0; in main()
27 boost::timed_mutex m1(m0); in main()
Dassign_fail.cpp26 boost::timed_mutex m0; in main()
27 boost::timed_mutex m1(m0); in main()
Dnative_handle_pass.cpp29 boost::timed_mutex m; in main()
30 boost::timed_mutex::native_handle_type h = m.native_handle(); in main()
Ddefault_pass.cpp26 boost::timed_mutex m0; in main()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons/
Dtime_point_pass.cpp32 boost::timed_mutex m;
47 boost::unique_lock<boost::timed_mutex> lk(m, Clock::now() + ms(750)); in f1()
55 boost::unique_lock<boost::timed_mutex> lk(m, Clock::now() + ms(250)); in f2()
Dduration_pass.cpp33 boost::timed_mutex m;
48 boost::unique_lock<boost::timed_mutex> lk(m, ms(750)); in f1()
56 boost::unique_lock<boost::timed_mutex> lk(m, ms(250)); in f2()
/third_party/boost/boost/thread/
Dmutex.hpp40 struct is_basic_lockable<timed_mutex>
45 struct is_lockable<timed_mutex>
/third_party/boost/libs/thread/test/sync/conditions/condition_variable_any/
Ddtor_pass.cpp27 boost::timed_mutex m;
28 typedef boost::unique_lock<boost::timed_mutex> Lock;
/third_party/boost/libs/thread/doc/
Dmutexes.qbk65 [section:timed_mutex Class `timed_mutex`]
69 class timed_mutex:
73 timed_mutex();
74 ~timed_mutex();
88 typedef unique_lock<timed_mutex> scoped_timed_lock;
Dconfiguration.qbk132 * `boost::timed_mutex::scoped_lock`
133 * `boost::timed_mutex::scoped_try_lock`
134 * `boost::timed_mutex::timed_scoped_timed_lock`
147 * `boost::unique_lock<boost::timed_mutex>`
148 * `boost::unique_lock<boost::timed_mutex>` with the `try_to_lock_t` constructor
149 * `boost::unique_lock<boost::timed_mutex>`
/third_party/boost/libs/thread/test/
Dtest_mutex.cpp294 test_lock<boost::timed_mutex>()(); in do_test_timed_mutex()
295 test_trylock<boost::timed_mutex>()(); in do_test_timed_mutex()
296 test_timedlock<boost::timed_mutex>()(); in do_test_timed_mutex()
Dtest_xtime.cpp64 boost::timed_mutex m; in BOOST_AUTO_TEST_CASE()
67 …boost::timed_mutex::scoped_timed_lock lk(m,boost::get_xtime(boost::get_system_time()+boost::posix_… in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/thread/test/sync/mutual_exclusion/synchronized_value/
Ddefault_ctor_pass.cpp25 boost::synchronized_value<int, boost::timed_mutex> f; in main()
/third_party/boost/libs/chrono/example/
Dsimulated_thread_interface_demo.cpp93 struct timed_mutex struct
166 boost::timed_mutex mut;
/third_party/boost/libs/config/test/
Dboost_no_cxx11_hdr_mutex.ipp21 using std::timed_mutex;

12