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 acea9d7 commit ab90437Copy full SHA for ab90437
src/libipc/waiter.h
@@ -51,6 +51,16 @@ class waiter {
51
lock_.close();
52
}
53
54
+ void clear() noexcept {
55
+ cond_.clear();
56
+ lock_.clear();
57
+ }
58
+
59
+ static void clear_storage(char const *name) noexcept {
60
+ ipc::sync::condition::clear_storage(name);
61
+ ipc::sync::mutex::clear_storage(name);
62
63
64
template <typename F>
65
bool wait_if(F &&pred, std::uint64_t tm = ipc::invalid_value) noexcept {
66
IPC_UNUSED_ std::lock_guard<ipc::sync::mutex> guard {lock_};
0 commit comments