We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed8b1fd commit b8f5e2bCopy full SHA for b8f5e2b
src/libipc/waiter.h
@@ -42,8 +42,8 @@ class waiter {
42
}
43
44
void close() noexcept {
45
- // cond_.close();
46
- // lock_.close();
+ cond_.close();
+ lock_.close();
47
48
49
template <typename F>
@@ -64,6 +64,9 @@ class waiter {
64
std::lock_guard<ipc::sync::mutex>{lock_}; // barrier
65
return cond_.broadcast();
66
67
+
68
+ void quit_waiting() {
69
+ }
70
};
71
72
} // namespace detail
test/test_waiter.cpp
@@ -34,4 +34,7 @@ TEST(Waiter, broadcast) {
34
35
36
37
+TEST(Waiter, quit_waiting) {
38
+}
39
40
} // internal-linkage
0 commit comments