Home
last modified time | relevance | path

Searched refs:wake_count (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/engine/flutter/fml/synchronization/
Dwaitable_event_unittest.cc73 std::atomic_uint wake_count(0u); in TEST() local
76 threads.push_back(std::thread([&ev, &wake_count]() { in TEST()
81 wake_count.fetch_add(1u); in TEST()
93 unsigned old_wake_count = wake_count.load(); in TEST()
100 while (wake_count.load() == old_wake_count) in TEST()
109 EXPECT_EQ(old_wake_count + 1u, wake_count.load()); in TEST()
/third_party/boost/boost/atomic/detail/
Dfutex.hpp126 BOOST_FORCEINLINE int futex_requeue(void* pval1, void* pval2, unsigned int wake_count = 1u, unsigne… in futex_requeue() argument
128 return futex_invoke(pval1, FUTEX_REQUEUE, wake_count, requeue_count, pval2); in futex_requeue()
132 BOOST_FORCEINLINE int futex_requeue_private(void* pval1, void* pval2, unsigned int wake_count = 1u,… in futex_requeue_private() argument
134 …return futex_invoke(pval1, FUTEX_REQUEUE | BOOST_ATOMIC_DETAIL_FUTEX_PRIVATE_FLAG, wake_count, req… in futex_requeue_private()