commit | af221b80910686d0491f1291a55cf6f58fc0ba54 | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sun Sep 01 13:57:50 2013 -0700 |
committer | Brian Silverman <brians> | Fri Sep 13 14:26:54 2013 -0700 |
tree | 3919e36fe1784beb41374fd2eaf8d1857c8f2fa5 | |
parent | 9c98ff7e3f7cc16b6f8f5b3849b8ab5b11660eac [diff] [blame] |
copying condition-api-fix branch over from my 2012 repo
diff --git a/aos/atom_code/ipc_lib/mutex.cpp b/aos/atom_code/ipc_lib/mutex.cpp index 4f908dd..47fc92a 100644 --- a/aos/atom_code/ipc_lib/mutex.cpp +++ b/aos/atom_code/ipc_lib/mutex.cpp
@@ -26,10 +26,7 @@ } void Mutex::Unlock() { - if (mutex_unlock(&impl_) != 0) { - LOG(FATAL, "mutex_unlock(%p(=%" PRIu32 ")) failed because of %d: %s\n", - &impl_, impl_, errno, strerror(errno)); - } + mutex_unlock(&impl_); } bool Mutex::TryLock() {