Lines Matching full:wait
4 Subject: [PATCH] libstdc++: Avoid recursion in __nothrow_wait_cv::wait
8 noexcept-specifier from std::condition_variable::wait and gave the new
10 std::condition_variable::wait(unique_lock<mutex>&)@GLIBCXX_3.4.11 as an
11 alias for a new symbol, __gnu_cxx::__nothrow_wait_cv::wait, which still
12 has the incorrect noexcept guarantee. That __nothrow_wait_cv::wait is
13 just a wrapper around the real condition_variable::wait which adds
17 __nothrow_wait_cv::wait calls the condition_variable::wait function it
22 __nothrow_wait_cv::wait function so that instead of calling
23 condition_variable::wait it re-implements it. This requires accessing
31 * src/c++11/compatibility-condvar.cc (__nothrow_wait_cv::wait):
32 Access private data member of base class and call its wait
68 void wait(std::unique_lock<std::mutex>&) noexcept;
71 __nothrow_wait_cv::wait(std::unique_lock<std::mutex>& lock) noexcept
73 - this->condition_variable::wait(lock);
74 + // In theory this could be simply this->std::condition_variable::wait(lock)
76 + (this->*__base_member).wait(*lock.mutex());