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 15b572b commit 5eebaebCopy full SHA for 5eebaeb
src/libipc/platform/posix/mutex.h
@@ -115,7 +115,7 @@ class mutex {
115
ipc::error("fail pthread_mutexattr_init[%d]\n", eno);
116
return false;
117
}
118
- IPC_UNUSED_ auto guard_mutex_attr = guard([&mutex_attr] { ::pthread_mutexattr_destroy(&mutex_attr); };
+ IPC_UNUSED_ auto guard_mutex_attr = guard([&mutex_attr] { ::pthread_mutexattr_destroy(&mutex_attr); });
119
if ((eno = ::pthread_mutexattr_setpshared(&mutex_attr, PTHREAD_PROCESS_SHARED)) != 0) {
120
ipc::error("fail pthread_mutexattr_setpshared[%d]\n", eno);
121
0 commit comments