compile error for qnx

This commit is contained in:
mutouyun 2022-01-07 22:52:34 +08:00
parent 534870b824
commit de9c965046

View File

@ -115,7 +115,7 @@ public:
return true; return true;
} }
bool notify() noexcept { bool notify(ipc::sync::mutex &) noexcept {
if (!valid()) return false; if (!valid()) return false;
int eno; int eno;
if ((eno = ::pthread_cond_signal(cond_)) != 0) { if ((eno = ::pthread_cond_signal(cond_)) != 0) {
@ -125,7 +125,7 @@ public:
return true; return true;
} }
bool broadcast() noexcept { bool broadcast(ipc::sync::mutex &) noexcept {
if (!valid()) return false; if (!valid()) return false;
int eno; int eno;
if ((eno = ::pthread_cond_broadcast(cond_)) != 0) { if ((eno = ::pthread_cond_broadcast(cond_)) != 0) {