mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
fine-tune
This commit is contained in:
parent
f59d94ee17
commit
ed6af29264
@ -98,8 +98,7 @@ public:
|
|||||||
if (!std::forward<F>(pred)()) return true;
|
if (!std::forward<F>(pred)()) return true;
|
||||||
++ counter_;
|
++ counter_;
|
||||||
}
|
}
|
||||||
if (!s(h).wait()) return false;
|
return s(h).wait() && w(h).post();
|
||||||
return w(h).post();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void notify(handle_t& h) {
|
void notify(handle_t& h) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user