mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 08:46:45 +08:00
compile error for qnx
This commit is contained in:
parent
534870b824
commit
de9c965046
@ -115,7 +115,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool notify() noexcept {
|
||||
bool notify(ipc::sync::mutex &) noexcept {
|
||||
if (!valid()) return false;
|
||||
int eno;
|
||||
if ((eno = ::pthread_cond_signal(cond_)) != 0) {
|
||||
@ -125,7 +125,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool broadcast() noexcept {
|
||||
bool broadcast(ipc::sync::mutex &) noexcept {
|
||||
if (!valid()) return false;
|
||||
int eno;
|
||||
if ((eno = ::pthread_cond_broadcast(cond_)) != 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user