Home
last modified time | relevance | path

Searched refs:cv_status (Results 1 – 25 of 32) sorted by relevance

12

/third_party/boost/libs/thread/test/sync/conditions/cv_status/
Dcv_status_pass.cpp26 BOOST_TEST(boost::cv_status::no_timeout != boost::cv_status::timeout); in main()
29 boost::cv_status st = boost::cv_status::no_timeout; in main()
30 BOOST_TEST(st == boost::cv_status::no_timeout); in main()
31 BOOST_TEST(boost::cv_status::no_timeout==st); in main()
32 BOOST_TEST(st != boost::cv_status::timeout); in main()
33 BOOST_TEST(boost::cv_status::timeout!=st); in main()
36 boost::cv_status st = boost::cv_status::timeout; in main()
37 BOOST_TEST(st == boost::cv_status::timeout); in main()
38 BOOST_TEST(boost::cv_status::timeout==st); in main()
39 BOOST_TEST(st != boost::cv_status::no_timeout); in main()
[all …]
/third_party/boost/boost/thread/
Dlatch.hpp90 cv_status wait_for(const chrono::duration<Rep, Period>& rel_time) in wait_for()
93 if (count_ == 0) return cv_status::no_timeout; in wait_for()
96 ? cv_status::no_timeout in wait_for()
97 : cv_status::timeout; in wait_for()
103 cv_status wait_until(const chrono::time_point<Clock, Duration>& abs_time) in wait_until()
106 if (count_ == 0) return cv_status::no_timeout; in wait_until()
109 ? cv_status::no_timeout in wait_until()
110 : cv_status::timeout; in wait_until()
Dcompletion_latch.hpp128 cv_status wait_for(const chrono::duration<Rep, Period>& rel_time) in wait_for()
133 ? cv_status::no_timeout in wait_for()
134 : cv_status::timeout; in wait_for()
140 cv_status wait_until(const chrono::time_point<Clock, Duration>& abs_time) in wait_until()
145 ? cv_status::no_timeout in wait_until()
146 : cv_status::timeout; in wait_until()
Dcv_status.hpp18 BOOST_SCOPED_ENUM_DECLARE_BEGIN(cv_status) in BOOST_SCOPED_ENUM_DECLARE_BEGIN() argument
23 BOOST_SCOPED_ENUM_DECLARE_END(cv_status)
/third_party/boost/boost/fiber/
Dcondition_variable.hpp40 enum class cv_status { enum
101cv_status wait_until( LockType & lt, std::chrono::time_point< Clock, Duration > const& timeout_tim… in wait_until()
103 cv_status status = cv_status::no_timeout; in wait_until()
115 status = cv_status::timeout; in wait_until()
142 if ( cv_status::timeout == wait_until( lt, timeout_time) ) { in wait_until()
150cv_status wait_for( LockType & lt, std::chrono::duration< Rep, Period > const& timeout_duration) { in wait_for()
203 cv_status wait_until( std::unique_lock< mutex > & lt, in wait_until()
208 cv_status result = cnd_.wait_until( lt, timeout_time); in wait_until()
229 cv_status wait_for( std::unique_lock< mutex > & lt, in wait_for()
234 cv_status result = cnd_.wait_for( lt, timeout_duration); in wait_for()
/third_party/boost/boost/thread/win32/
Dcondition_variable.hpp431 cv_status
437 if (do_wait_until(lock, ts)) return cv_status::no_timeout; in wait_until()
438 else return cv_status::timeout; in wait_until()
442 cv_status
457 if (t > Clock::now()) return cv_status::no_timeout; in wait_until()
458 else return cv_status::timeout; in wait_until()
462 cv_status
633 cv_status
639 if (do_wait_until(lock, ts)) return cv_status::no_timeout; in wait_until()
640 else return cv_status::timeout; in wait_until()
[all …]
/third_party/boost/boost/thread/pthread/
Dcondition_variable_fwd.hpp239 cv_status
245 if (do_wait_until(lock, ts)) return cv_status::no_timeout; in wait_until()
246 else return cv_status::timeout; in wait_until()
250 cv_status
265 if (t > Clock::now()) return cv_status::no_timeout; in wait_until()
266 else return cv_status::timeout; in wait_until()
270 cv_status
Dcondition_variable.hpp352 cv_status
358 if (do_wait_until(lock, ts)) return cv_status::no_timeout; in wait_until()
359 else return cv_status::timeout; in wait_until()
363 cv_status
378 if (t > Clock::now()) return cv_status::no_timeout; in wait_until()
379 else return cv_status::timeout; in wait_until()
383 cv_status
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DEGLReusableSync.cpp63 std::cv_status waitStatus = std::cv_status::no_timeout; in clientWait()
70 case std::cv_status::no_timeout: // Signaled. in clientWait()
73 case std::cv_status::timeout: // Timed-out. in clientWait()
/third_party/boost/libs/thread/test/
Dtest_latch.cpp48 if (gen_latch.wait_for(boost::chrono::milliseconds(100)) == boost::cv_status::timeout) in test_latch()
49 …boost::chrono::steady_clock::now()+boost::chrono::milliseconds(100)) == boost::cv_status::timeout) in test_latch()
Dtest_completion_latch.cpp67 if (gen_latch.wait_for(boost::chrono::milliseconds(100)) == boost::cv_status::timeout) in test_completion_latch_reset()
68 …boost::chrono::steady_clock::now()+boost::chrono::milliseconds(100)) == boost::cv_status::timeout) in test_completion_latch_reset()
Dtest_9856.cpp17 if (cv_status::timeout != cond.wait_for(lk, chrono::milliseconds(10))) in main()
/third_party/boost/libs/thread/doc/
Dlatch.qbk125 cv_status wait_for(const chrono::duration<Rep, Period>& rel_time);
127 cv_status wait_until(const chrono::time_point<Clock, Duration>& abs_time);
215 cv_status wait_for(const chrono::duration<Rep, Period>& rel_time);
220 [[Returns:] [cv_status::no_timeout if the internal count is 0, and cv_status::timeout if duration …
237 cv_status wait_until(const chrono::time_point<Clock, Duration>& abs_time);
242 [[Returns:] [cv_status::no_timeout if the internal count is 0, and cv_status::timeout if time_poin…
339 cv_status wait_for(const chrono::duration<Rep, Period>& rel_time);
341 cv_status wait_until(const chrono::time_point<Clock, Duration>& abs_time);
Dcondition_variables.qbk15 enum class cv_status;
109 typename cv_status::type
122 typename cv_status::type
331 [section:wait_until `template <class Clock, class Duration> cv_status wait_until(boost::unique_lock…
349 [[Returns:] [`cv_status::timeout` if the call is returning because the time specified by
350 `abs_time` was reached, `cv_status::no_timeout` otherwise.]]
362 [section:wait_for `template <class Rep, class Period> cv_status wait_for(boost::unique_lock<boost::…
381 [[Returns:] [`cv_status::timeout ` if the call is returning because the time period specified
382 by `rel_time` has elapsed, `cv_status::no_timeout ` otherwise.]]
456 cv_status wait_until(
[all …]
/third_party/boost/libs/fiber/doc/
Dcondition_variables.qbk13 enum class cv_status; {
124 [heading Enumeration `cv_status`]
128 enum class cv_status {
181 cv_status wait_until( ``[locktype]`` &,
190 cv_status wait_for( ``[locktype]`` &,
290 cv_status wait_until( ``[locktype]`` & lk,
314 if ( cv_status::timeout == wait_until( lk, abs_time) )
324 [[Returns:] [The overload without `pred` returns `cv_status::no_timeout` if
325 awakened by `notify_one()` or `notify_all()`, or `cv_status::timeout` if
336 cv_status wait_for( ``[locktype]`` & lk,
[all …]
/third_party/flutter/engine/flutter/fml/synchronization/
Dwaitable_event.cc33 if (std::cv_status::timeout == in WaitWithTimeoutImpl()
87 if (std::cv_status::timeout == in WaitWithTimeout()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/stdcpp/
DSDL_syscond.cpp144 if (wait_result == std::cv_status::timeout) { in SDL_CondWaitTimeout()
/third_party/boost/libs/thread/test/sync/conditions/condition_variable_any/
Dwait_for_pass.cpp55 while (test2 == 0 && cv.wait_for(lk, t - Clock::now()) == boost::cv_status::no_timeout) {} in f()
Dwait_until_pass.cpp66 while (test2 == 0 && cv.wait_until(lk, t) == boost::cv_status::no_timeout) {} in f()
/third_party/boost/libs/thread/test/sync/conditions/condition_variable/
Dwait_until_pass.cpp66 while (test2 == 0 && cv.wait_until(lk, t) == boost::cv_status::no_timeout) {} in f()
Dwait_for_pass.cpp55 while (test2 == 0 && cv.wait_for(lk, t - Clock::now()) == boost::cv_status::no_timeout) {} in f()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_buffer_mgr.h49 … if (cv_.wait_for(lock, std::chrono::seconds(MAX_WAIT_TIME_IN_SEC)) == std::cv_status::timeout) { in Wait()
Dblocking_queue.cc115 …if (not_full_cond_.wait_for(locker, std::chrono::microseconds(kTimeout)) == std::cv_status::timeou… in Push()
/third_party/boost/libs/fiber/test/
Dtest_condition_variable_any_post.cpp221 while (test2 == 0 && cv.wait_until(m, t) == boost::fibers::cv_status::no_timeout) in fn2()
276 while (test2 == 0 && cv.wait_for(m, ms(250)) == boost::fibers::cv_status::no_timeout) in fn4()
Dtest_condition_variable_any_dispatch.cpp221 while (test2 == 0 && cv.wait_until(m, t) == boost::fibers::cv_status::no_timeout) in fn2()
276 while (test2 == 0 && cv.wait_for(m, ms(250)) == boost::fibers::cv_status::no_timeout) in fn4()

12